Next: , Previous: guile-tools guile-config-data, Up: Miscellaneous Tools


13.20 guile-tools gxsed

Usage: gxsed [OPTION]... {script-only-if-no-other-script} [INPUT-FILE]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed
      --help     display this help and exit
      --version  output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the gxsed script to interpret.  All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

Additionally, the option `--debug FILE' makes gxsed pretty-print the
compiled sed program to FILE (or stderr if FILE is "-") right before
running it.  This option may disappear in the future; do not rely on it.


FAILS (GNU sed 4.1.5 testsuite):
 TEST -- OBSERVATION [-- HYPOTHESIS, NOTES, ETC]
 noeolw -- newline suppressed (does not follow GNU sed peculiarity)
 numsub5 -- miscompare -- GNU sed 3.02 does the same thing
 0range -- configuration error (-s) -- see TODO
 xbxcx -- hang
 xbxcx3 -- miscompare first char
 recall -- hang
 (etc)


TODO:
 escape processing
 `-s' command-line option (GNU extension)
 `s' command flag: `I'