When I run
- Code: Select all
jane@localhost ~> grep -h '.zip' dirlist*.txt
gunzip*
gzip*
bunzip2@
bzip2*
bzip2recover*
funzip*
gpg-zip*
gunzip@
gzip@
hunzip*
hzip*
mzip@
unzip*
unzipsfx*
However, I get this when I run:jane@localhost ~> grep -h 'zip$' dirlist*.txt I get no output. When I use '^' as an anchor I get the expected results. Is there a program that I need to install to be able to use '$' as an anchor? All help will be appreciated.
jane@localhost ~> uname -a
Linux localhost 2.6.38.8-desktop586-8.mga #1 SMP Fri Nov 4 00:11:45 UTC 2011 i686 i686 i386 GNU/Linux
I'm running Dell Inspiron 530S Desktop with Win 7 and numerous Linux distributions installed on two drives.
