https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226112
Bug ID: 226112
Summary: awk(1) man page unclear about field separator, FS
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Created attachment 190888
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190888&action=edit
patch for usr.bin/awk/awk.1 to clarify the use of FS
I realise that awk is a contributed package, but the man page for it has been
pulled in from OpenBSD, and has since been locally modified:
https://svnweb.freebsd.org/base/head/usr.bin/awk/awk.1?view=log
Anyway, the man page assumes that apart from the exceptions mentioned, the FS
is a regular expression. This is not the case for a single character - A single
character FS is considered literal.
Attached patch clarifies this. Note that the man page for gawk is correct on
the subject.
Cheers
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"