[NTLUG:Discuss] in a world where grep doesn't have the -m (match) option..

Rick Renshaw bofh69 at yahoo.com
Wed Mar 26 18:53:35 CDT 2008


--- Richard <ntlug at rain4us.net> wrote:

> When a machine is up for > 1400 days...and has been serving the needs of 
> the users..it's hard to justify an upgrade.   STILL..it is getting old 
> enough that working on it with is becoming cost prohibitive.  As an 
> interesting side note I went to compile a newer version of grep but 
> couldn't untar the newer grep source it with a -j because tar lacked the 
> -j option!  :)   A minor inconvenience but all is well now.
> 
> Thanks all for your responses.
> 
> -- 
> Richard

You don't have to reboot to upgrade anything but the kernel, Linux isn't Windows :)

-j is just bzip2 format, so as long as you have bzip2 (and bunzip2):
bunzip2 -c tarfile | tar xvf -


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping



More information about the Discuss mailing list