Advertisement

1 - 10 of 287 containing alltags:("sed") (0.001 seconds)
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...
Zones: Unix Systems ProgrammingDate Answered: 09/02/1997 Grade: C Views: 0
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
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...
Zones: Unix Systems ProgrammingDate Answered: 02/25/2002 Grade: A Views: 0
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...
Zones: Unix Systems ProgrammingDate Answered: 01/07/2000 Grade: A Views: 0
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....
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...
Zones: Unix Systems ProgrammingDate Answered: 12/13/2000 Grade: A Views: 0
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...
Zones: Unix Systems ProgrammingDate Answered: 05/04/2002 Grade: A Views: 0
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...
Zones: Unix Systems ProgrammingDate Answered: 08/14/2003 Grade: A Views: 0
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...
Zones: Unix Systems ProgrammingDate Answered: 03/21/2004 Grade: B Views: 0
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?
Zones: Unix Systems ProgrammingDate Answered: 02/27/2004 Grade: B Views: 49