SPUG: Any grep's lack \b functionality?
Cantrall, Christopher W
christopher.w.cantrall at boeing.com
Mon Oct 6 10:18:45 CDT 2003
Boeing's install of AIX 4.3 has grep, egrep, fgrep, and ogrep. ogrep has no man page, but the usage is similar to other greps. fgrep has a "-w" word search flag, but there appears to be no true word boundary functionality. So on this AIX, there is no \b available.
Good luck with the book.
____________________________________________
Chris Cantrall
Structural Engineer, 777 Fuselage, Boeing
Christopher.W.Cantrall at Boeing.com
chris at cantrall.org
http://perlmonks.org/index.pl?node=Louis_Wu
-----Original Message-----
From: Tim Maher [mailto:tim at consultix-inc.com]
Sent: Sunday, October 05, 2003 10:53 AM
To: spug-list at pm.org
Subject: SPUG: Any grep's lack \b functionality?
[snip]
So one question I'd like help answering is:
1) Is any fairly contemporary version of UNIX missing a grep,
egrep, or sed that supports a word boundary metacharacter?
(\b, \<, whatever)
But the more general question that really interests me is:
2) Does anybody know where I can find a detailed list of the
capabilities of each of the UNIX utilities (grep, sed, sort,
tail, etc.) as they're provided by different Unices?
TIA,
-Tim
*------------------------------------------------------------*
| Tim Maher (206) 781-UNIX (866) DOC-PERL (866) DOC-UNIX |
| tim(AT)Consultix-Inc.Com TeachMeUnix.Com TeachMePerl.Com |
*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-*
| Watch for my Book: "Minimal Perl for Shell Programmers" |
*------------------------------------------------------------*
More information about the spug-list
mailing list