| 2000-07-07 Lars J. Aas <[EMAIL PROTECTED]>
|
| * acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS):
| Accept special filename '-' for stdin and stdout.
I like it very much, and much approve it. (Just don't forget it'd be
great to document :P).
Just FYI on some style issues:
| + - | *:- | *:-:* ) # input from stdin
| + cat > $tmp/stdin
No space between > and $tmp/stdin
| " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
| + rm -f $tmp/stdin
Well, the trap is in charge of this anyway.
| + if test x"$ac_file" != x-; then
| + mv $tmp/out $ac_file
| + else
| + cat $tmp/out
| + rm -f $tmp/out
Likewise.
| + case "$f" in
Don't quote here, there is no word splitting on the argument of case.
The patch is great!