I have a file xxx.txt containing
Is there anyway i can grep xxx.txt for strings without using punctuations.
`grep sugarsweet xxx.txt` should give output :
on 07/27/2012 – Made popular on 07/27/2012
So, I have program $a that shoves out a bunch of data, but, only the data before $z is what I want to grep for, anything after $z isn't important to the grep, but, is after the grep, so, what I need to do is something like:-
$a | sed "s/^(.*?)$z.*/\1/" | grep "$s" | $hereIsWhereIwantTheOriginallyDataBeforeISed'dItForTheGrepToNotSearchAfterThe$z.
is this possible?