Skip to Content
gnux

-f, --file

Add the contents of SCRIPT-FILE to the commands to be executed.

An option of sedx.

Usage

sedx -f SCRIPT-FILE {script-only-if-no-other-script} [input-file]...
sedx --file=SCRIPT-FILE {script-only-if-no-other-script} [input-file]...

Details

ShortLongValueDefaultMeaning
-f--fileSCRIPT-FILEadd the contents of SCRIPT-FILE to the commands to be executed

Examples

Run an edit script kept in a file

sedx -f cleanup.sed report.txt > report.clean.txt

Help in the terminal

gnux help sedx --file

On this page