Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] pattern matching
- Date: Sat, 14 Feb 2004 15:32:38 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] pattern matching
- References: <20040213162952.13584.qmail@example.com>
- Organization: The XEmacs Project
- User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (celeriac, linux)
>>>>> "Susumu" == Susumu ISHIZUKA <sufiyanjp@example.com> writes: Susumu> but my little grep(1) do it for me with, Susumu> $ grep -o PATTERN file That's handy. I wonder when they added that ... well, it's not in GNU grep 2.4.2 on Mac OS X. Debian Linux is at 2.5.1. So it's not an issue of clever, it's that it's not portable: it doesn't work on Solaris 8, either. Without looking, I'll bet it's not POSIX. (Those are separate issues, Solaris grep doesn't accept the required EFG flags so it can't be POSIX.) If you are mostly working on the command line, that's great, of course. No disagreement there---of course you can always choose the latest GNU grep for yourself (except for really fascist secure environments, and then losing the -o flag is the least of your troubles). The problem is when you start writing configure.ac and stuff like that. I've been embarrassed twice this month by bash-isms in configure. -- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.
- Follow-Ups:
- Re: [tlug] pattern matching
- From: Brett Robson
- References:
- Re: [tlug] pattern matching
- From: Susumu ISHIZUKA
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Tar excluding some folders
- Next by Date: Re: [tlug] de-lurking with a question
- Previous by thread: Re: [tlug] pattern matching
- Next by thread: Re: [tlug] pattern matching
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links