[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grep



I don't know about your system but on mine they are all hard links. These
look like regular files in a listing as opposed to symbolic likns which
show as links in a long directory listing.

In other words, if you delete egrep and fgrep, you will not see any change
in the amount of disk space used. You use ln /bin/grep /bin/egrep to put
the link back (instead of ln -s).


On Fri, 26 Dec 1997 desbiensd@cedep.net wrote:

> 	I have grep version 2.1-3. In looking in the bin directory, I have found out:
> 
> /home/dodo# ls -l /bin/*grep
> -rwxr-xr-x   1 root     root        67760 déc 16 11:21 /bin/egrep
> -rwxr-xr-x   1 root     root        67760 déc 16 11:21 /bin/fgrep
> -rwxr-xr-x   1 root     root        67760 déc 16 11:21 /bin/grep
> /home/dodo# diff /bin/grep /bin/egrep
> /home/dodo# diff /bin/grep /bin/fgrep
> /home/dodo# 
> 
> 
> 	My question is why is there 3 times the same file instead of 1 time with 2 symbolic links?
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org . 
> Trouble?  e-mail to templin@bucknell.edu .
> 
> 
> 

George Bonser 
Would you buy a car with the hood welded shut? 
http://www.debian.org
Debian/GNU Linux ... the maintainable operating system.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble?  e-mail to templin@bucknell.edu .


Reply to: