Hi
How can I change with the SED command the follow characters?
%
/
\
I mean when I have an ascii textfile with the follow text
Hello %%
How is the SED command to change it lik...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_10022105.html
Hi, I am not familar with sed, can you tell me how to insert a word in the begining of each line
of a text file?
Thanks
Shane
http://www.experts-exchange.com/OS/Unix/Q_10061087.html
Zones:
UnixDate Answered: 07/01/1998 Grade: A Views: 0
I know you're not supposed to ask homework questions, but this is driving me crazy. I have a file named cars.txt which contains make|model|year|milage|price. The question is to list all lines, bu...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_10233852.html
I have a multi-line text file where every line has a common substring; e.g.
line1=/unique1/samehere/diff1.out
line2=/unique2/samehere/diff2.out
:
linen=/uniquen/samehere/diffn.out
I wish t...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_10255721.html
Ok so I have a file where I want to strip all the crap in front of a URL. It looks like this
</HTML>
<SPAN CLASS="COPYRIGHT"><IMG SRC="http://a12.g.akamai.net/7/12/1701/94fb0c3ed8a8f9/www....
http://www.experts-exchange.com/OS/Unix/Q_11381698.html
Zones:
UnixDate Answered: 09/28/2000 Grade: A Views: 0
I'm pretty much a beginner when it comes to sed. I've only used it a few
times for simple things. If anyone has suggestions on how to solve my
problem, please let me know.
I'm modifying a sh...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_12037419.html
I need a Perl command to get a tag <people> and enter a hard return before it.
I tried with sed but it actually puts a \n in the xml code.
ie. </place><people>
The people tag should go...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_20294089.html
Hi,
I have this problem and I wish to know is there an easy way to solve it.
I have a file containing in it couples of lines with a specific format
(among many other lines).
The format of th...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_20706864.html
I have a file testjack as follows
eam::tough
/opt/ics
I:/am:/a:/good:/boy:
team::strong
end
Now
sed -n -e '/eam/,/strong/p' testjack would print from 'eam' to 'strong' which is expecte...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_20883530.html
Here's what I'd like to do:
If the first character of a string is a 0 (zero), i'd like to replace it with a blank.
Example: 02_03_2004 => 2_03_2004
Any suggestions?
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_20900314.html