bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: sed - problem with escape charecters in cygwin


From: Bob Proulx
Subject: Re: sed - problem with escape charecters in cygwin
Date: Wed, 20 Nov 2002 11:29:04 -0700
User-agent: Mutt/1.4i

Cullen Davidson <address@hidden> [2002-11-20 07:48:28 -0800]:
> There appears ot be a bug in the sed function that requires the use of 
> two backslashes '\\' to escape characters in the regexp of a command 
> line substitution. The single backslash is simply ignored entirely as far 
> as I can tell. The replacement string does not have this problem, it 
> seems to work normally. Here is an example:
> 
> sed "s!\.properties!\.config!" file.txt

Please try this.  What is the output of this command?

  echo sed "s!\.properties!\.config!" file.txt

Also, please avoid sending html mail.  It is truly ugly.

  http://www.expita.com/nomime.html

Bob

-- 
Please follow up to the mailing list and not to me privately unless it
is personal.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]