How to extract Rust function signatures from .rs file using sed – one-liner Published 7. August 2023 by georgik To extract function signatures from .rs file you can use following one-liner with sed: Sample output: linuxMacOssed