[Cartoweb-users] Saving GREP output to text file

Alexandre Saunier alexandre.saunier at camptocamp.com
Tue Jul 25 05:29:42 EDT 2006


Try

grep -rn ba24hr_mooring . | less

to browse a long list of results.

Oliver Ishmael wrote:
> Hello all,
> 
> Many thanks to Oliver Christen for replying to my last message:
> 
>> what with a little "grep -rn ba24hr_mooring ." in your cartoweb folder 
>> (you can do that with cygwin if you use windows), this has saved me 
>> many times
> 
> 
> 
> I have installed Cygwin and ran the above GREP command, however, the 
> output was too big for the cygwin window so i would like to save the 
> output to a text file. Can someone tell me how to change the following 
> to make that possible:
> 
> grep -rn ba24hr_mooring .
> 
> 
> Thanks again for your help
> Olly
> 
> _________________________________________________________________
> Windows Live™ Messenger has arrived. Click here to download it for free! 
> http://imagine-msn.com/messenger/launch80/?locale=en-gb
> 
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users


More information about the Cartoweb-users mailing list