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

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

Maybe an issue with SED redirection or I missed something


From: Rodney Fisher
Subject: Maybe an issue with SED redirection or I missed something
Date: Thu, 24 Mar 2011 10:44:12 -0600

HI there

I have tried a few tests with the SED command.

It seems to not handle the redirection arrows very well.....

Y:\testsed>cat rf1
"Test sed to remove quotes".
Even if line like this has no quotes.
"Or just has 1 quote like this line.

Y:\testsed>sed "s/\"//g" rf1
Test sed to remove quotes.
Even if line like this has no quotes.
Or just has 1 quote like this line.

Y:\testsed>sed "s/\"//g" rf1 > rf2
Test sed to remove quotes.
Even if line like this has no quotes.
Or just has 1 quote like this line.
sed: can't read >: Invalid argument
sed: can't read rf2: No such file or directory

Y:\testsed>

The version I have is dated 4/14/2003, maybe there is a newer one??>...

Just wondering .... Thanks for any info on this.....

Rodney Fisher
Service Alberta
(780) 415-1234


This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.



reply via email to

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