This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: odd sed behavior
- To: Michael O'Brien <mobrien at pixar dot com>, Bob McGowan <rmcgowan at veritas dot com>, cygwin at sourceware dot cygnus dot com
- Subject: Re: odd sed behavior
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Wed, 22 Mar 2000 09:51:03 -0800 (PST)
- Reply-To: earnie_boyd at yahoo dot com
--- Michael O'Brien <mobrien@pixar.com> wrote:
> Hola~
>
> The command below does work using bash. However, I'm not using bash, but the
> command prompt. I agree with the diagnosis that the problem lies in the ". I
> really need a work around, tho.
>
[edit] foo.sed
s/[\\"]/\\&/g
s/.*/\"&\",/
[dos_prompt] sort -u foo.file | sed -f foo.sed
[caveat emptor] Untested.
Regards,
=====
---
Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
__Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
__Minimalist GNU for Windows__
Mingw32 List: <http://www.egroups.com/group/mingw32/>
Mingw Home: <http://www.mingw.org/>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com