Re: soft links vs hard links (was Re: duplicate binaries)

1999-02-08 Thread John Hasler
dan writes: > Shouldn't files like egrep and fgrep be symbolic links to grep, and same > for any other program like this? I wrote: > What's wrong with hard links for this? > If you have hard links, and replace one of them, you still need to > replace the other one, since it still points to the or

soft links vs hard links (was Re: duplicate binaries)

1999-02-08 Thread E.L. Meijer \(Eric\)
> > dan writes: > > Shouldn't files like egrep and fgrep be symbolic links to grep, and same > > for any other program like this? > > What's wrong with hard links for this? If you have hard links, and replace one of them, you still need to replace the other one, since it still points to the orig

Re: duplicate binaries

1999-02-06 Thread Andreas Persenius
[BIG snip] Look at this: $ ls -li /bin/*grep* /usr/bin/*grep* 6071 -rwxr-xr-x 3 root root74308 Apr 11 1998 /bin/egrep* 6071 -rwxr-xr-x 3 root root74308 Apr 11 1998 /bin/fgrep* 6071 -rwxr-xr-x 3 root root74308 Apr 11 1998 /bin/grep* 139868 -rwxr-xr-x 1 r

Re: duplicate binaries

1999-02-06 Thread servis
*- On 5 Feb, Mitch Blevins wrote about "Re: duplicate binaries" >> >> With the output of the ls commands here, note the sizes of the files. I have >> actually checked, and the files are identical except for their names. >> >> $ ls -l /bin/*grep /usr/b

Re: duplicate binaries

1999-02-06 Thread Mitch Blevins
gt; Should bug reports be filed for these? > > > > > > Please CC to me, as I'm not on the list. > > > > I only have egrep and fgrep in the /bin directory. > > Could you please send the output of > > 'dpkg -S /usr/bin/egrep' > > and &g

Re: duplicate binaries

1999-02-06 Thread John Hasler
dan writes: > Shouldn't files like egrep and fgrep be symbolic links to grep, and same > for any other program like this? What's wrong with hard links for this? -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI

Re: duplicate binaries

1999-02-06 Thread Mitch Blevins
of 'dpkg -S /usr/bin/egrep' and 'dpkg -S /usr/bin/fgrep' so that we can identify the offending package. (and any other duplicate binaries you find) -Mitch

duplicate binaries

1999-02-06 Thread dan
I was looking around in the /bin directory, and there are several duplicate files installed there. For example, grep, fgrep, and egrep are all the same file. The program checks to see how it was called to determine what to do. Shouldn't files like egrep and fgrep be symbolic links to grep, and