-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
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-f | --file | SCRIPT-FILE | add 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.txtHelp in the terminal
gnux help sedx --file