Hey why wont it work for me?

I typed in exactly what was in the e mail and
it said


sed: -e expression #1, char 8: Missing command



On Monday 14 October 2002 05:56 pm, Joseph V Moss wrote:
> > I have a file like this
> >
> > aaaaaaaaaaaaa
> > bbbbbbbbbbbbb
> > aaaaaaaaaaaaa
> > bbbbbbbbbbbbb
> >
> > How I can filter this file, so that all the lines containing
> > bbbbbbbbbbbbb, were deleted. Is there any way to do it ?
> > Thanks in advance.
>
> There are *lots* of ways to do it.   Here are just three examples:
>
>       grep -v bbbbbbbbbbbbb filename
>
>       sed '/bbbbbbbbbbbbb/d' filename
>
>       awk '/bbbbbbbbbbbbb/ {next} {print}' filename



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to