[kwlug-disc] Grep on Ubuntu 11.04 (aka The Natty Narwhal)

unsolicited unsolicited at swiz.ca
Sat May 7 00:58:54 EDT 2011


Friendly reminder to everyone to trim their posts. Especially:

 >> _______________________________________________
 >> kwlug-disc mailing list
 >> kwlug-disc at kwlug.org
 >> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
 >>
 >
 > _______________________________________________
 > kwlug-disc mailing list
 > kwlug-disc at kwlug.org
 > http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
 >

John - could you please turn off your AVG certification text.


As for Darcy's request, John, you may find it convenient to install 
cygwin, then ssh in to the box and run your grep. You should then be 
able to cut and paste from your terminal dos box into your e-mail.


Darcy Casselman wrote, On 05/07/2011 12:04 AM:
> I'm a little confused.
> 
> Can you give some input and expected output?
> 
> Darcy.
> 
> On Fri, May 6, 2011 at 11:32 PM, John Johnson <jvj at golden.net> wrote:
>> What happened to my old friend: grep on Grep on Ubuntu 11.04 (aka The Natty
>> Narwhal)?
>> Grep on Ubuntu gives me all text matching and not matching - with matches in
>> red.
>> I could not find a switch that gives me only matching lines.
>>
>> context:
>> As we all know *ix is case sensitive and Win** is not.
>> On the website I had some image files with uppercase chars in the filename
>> and lowercase filenames in the HTML.
>> Needing to fix this, I started to work on a sh script to with:
>> ls | grep [A-Z]
>>
>> intending to expand to
>>
>> ls | grep [A-Z] > rename.sh
>>
>> This failed when the grep gave me all filenames - matching and not matching.
>> The Google was no help.
>>
>> I went back to using a command line grep on Win** and doing the file rename
>> with a BAT file.
>>
>> Tx: JohnJ
>>
>>
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 10.0.1209 / Virus Database: 1500/3621 - Release Date: 05/06/11
>>
>>
>> _______________________________________________
>> kwlug-disc mailing list
>> kwlug-disc at kwlug.org
>> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>>
> 
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
> 



More information about the kwlug-disc mailing list