Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
sed question
Name: David Date: November 15, 2002 at 06:38:38 Pacific OS: UNIX/Solaris CPU/Ram: Sun-sparc/16G
Comment:
Hi,
I want to delete some blank lines. I used the following command: sed '/^$/d' file_name or sed '/^ *$/d' file_name
But both failed to delete blank lines containing tabs. What can I do?
Summary: Hello, I know this is a Unix page and I am using sed for windows. But I don't see another more appropriate place for my question. I have a file in which certain lines, spaced variably apart (from 4 to...
Summary: Hi there, I have a question which one of you sed experts will be be able to help me with. I have a text file a.txt having entries 12 1234 12345 and another one b.txt having ab 12 cd ef gh ij kl 12345 ...
Summary: Hi, I have one question regard the use of sed If i want to remove "one or more occurance" of the pattern, then i use the following e.g echo abc444def | sed 's/[0-9]*//g' : It Work echo abc444def | sed...