This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] opts.sh & posix
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 14 Jun 2003 19:15:58 +0100
- Subject: Re: [PATCH] opts.sh & posix
- References: <3EEB5E47.email@example.com>
Nathan Sidwell wrote:-
> I've installed this patch which gets opts.sh working in the face of
I'm not sure of the difference between Posix and SUS, but SUS has
The first character of the string value of RS shall be the input
record separator; a <newline> by default. If RS contains more than
one character, the results are unspecified. If RS is null, then
records are separated by sequences consisting of a <newline> plus
one or more blank lines, leading or trailing blank lines shall not
result in empty records at the beginning or end of the input, and a
<newline> shall always be a field separator, no matter what the
value of FS is.
This may be a bug in your gawk. It's certainly a widespread extension
that is not specific to gawk.