|
From: | Mike Paulsen |
Subject: | Re: cut using -d """ -- can't pipe output. (textutils 2.1 under Win32.) |
Date: | Tue, 11 Jan 2005 21:12:04 -0600 |
User-agent: | Mozilla Thunderbird 1.0RC1 (Windows/20041201) |
John Lowe wrote:
In message <41E3E0F6.40209@charter.net>, Mike Paulsen
(snip)
I'd like to learn what I'm doing wrong, but I'm not above using sed to replace the quotes with some other character if need be.
(snip)
So as long as * doesn't appear in your file you could try: cat temp.txt | sed -e "s/""/*/g" | cut -s -f2 -d "*" | grep 1
(snip)
Sorry I couldn't produce a more elegant solution to the original problem!
Your example above works. Thanks again for the help. -- Mike.
[Prev in Thread] | Current Thread | [Next in Thread] |