sedAdditional Options


Syntax

  • -a - (BSD sed) Create / Truncate all files written to before processing
  • -E | -r - Use Extended Regular Expressions
  • -i | -I - Refer to the topic on In-Place Editing
  • -l - (BSD sed) Use line-buffered output
  • -l length - (GNU sed) Specify the length for l command line-wrapping
  • -s - (GNU sed) Treat files as separate streams
  • -u - Do not buffer the output
  • -z - (GNU sed) Use the NUL character to separate records
  • --quiet | --silent - (GNU sed) Synonyms for -n
  • --expression=command - (GNU sed) Synonym for -e
  • --file=command_file - (GNU sed) Synonym for -f
  • --follow-symlinks - (GNU sed) Follow symlinks
  • --in-place[=extension] - (GNU sed) Synonym for -i
  • --line-length=length - (GNU sed) Synonym for -l
  • --separate - (GNU sed) Synonym for -s
  • --unbuffered - (GNU sed) Synonym for -u
  • --null-data - (GNU sed) Synonym for -z
  • --help - (GNU sed) Print usage
  • --version - (GNU sed) Print version

Remarks

The -E option is to be standardized in the next major version, see the relevant issue.