Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stupid regex question



-n also does the trick, thanks!

On Mar 2, 2006, at 1:31 PM, Matej Cepl wrote:

> On Thu, 2 Mar 2006, Josh ChaitinPollak wrote:
>> I'm trying to detect the presence of a word on a line using sed. Is
>> there a way to say something like, 'if the match fails, don't return
>> anything'? For example:
>
> Is it sed's parameter -n what you are looking for?
>
> Matej
>
> -- 
> GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
> http://www.ceplovi.cz/matej/blog/
> 23 Marion St. #3, (617) 876-1259, ICQ 132822213
>
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://olduvai.blu.org/mailman/listinfo/discuss





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org