LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] grep, egrep, fgrep

[ILUG] grep, egrep, fgrep

Scanlan, Brian (5188) Brian.Scanlan at digifone.com
Fri Feb 2 15:49:32 GMT 2001


Oh, I agree they shouldn't be seperate files...

Remember a while back when Microsoft announced some technology
vaguely similar to symlinks, and all the slashdotters guffawed
posting crap like "Micky$oft should do a man ln!! INFORMATION
SHOULD BE FREE!" or something similar?

(You don't have to: I found it...
http://slashdot.org/articles/00/03/02/0833211.shtml)

Well, maybe Redhat and co. should do a "man ln"... ;)

Disk wasting sillyness, methinks. Still can't find a decent
reason for this.

Incidentally, on Digital Unix V4.0 they do similar stuff:
grep and egrep are the same size, but different files, which
fgrep is smaller, but on HPUX 10.20 and 11, the three files are
simply linked.

-----Original Message-----
From: Padraig Brady [mailto:Padraig at AnteFacto.com]
Sent: 02 February 2001 15:12
To: Scanlan, Brian (5188)
Cc: 'ilug at linux.ie'
Subject: Re: [ILUG] grep, egrep, fgrep


Hmm this is interesting.

pixelbeat at pixelbeat:~$ ls -li /bin/ls /bin/dir /bin/vdir
1120272 -rwxr-xr-x    1 root     root       40848 Jan  5 14:10 /bin/dir
1120274 -rwxr-xr-x    1 root     root       40848 Jan  5 14:10 /bin/ls
1120280 -rwxr-xr-x    1 root     root       40848 Jan  5 14:10 /bin/vdir

I don't agree that they should be different files.
Why would you ever want to rename dir/ls/vdir/grep/fgrep/egrep/... ?
maybe if you had links with a different name but why?
What would be more appropriate in my opinion would be to return
an error if argv[0] wasn't one of the accepted values.

Padraig.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell