Summary: how any one can write SED script for following requirement? Test1.text file has following data : Che is CLA and XP is //event[tag = cast and line = 29...
Summary: Hi guys, Using sed, I need to find every line in a document that starts with <TITLE>, and insert </TITLE> after the first period that follows it...
Summary: Hello, Can I use sed scripts, for ex: sed -f script filename > newfilename. where script file is : diff -e <my version> <production version> ...
Summary: Following script should do what you want: #!/bin/sh mv master.ics master.old cp master.heading master.new if [ -f master.ics ] ; then ___print "Could ...
Summary: Even though at home I have both a Solaris and Linux box, almost everything I do is on my Windows box (one of these days I'll get smart and reverse th...
Summary: As some of you are no doubt aware, one of the later versions of Mac OS X (Tiger) has issues in connecting to Windows Server 2003. The only solutio...
Summary: Try to find the simplest sed & awk script to extract from input file to produce the outputfile? Input file: A1 A2 A3 Pattern1 A4 A5 ... B1 B2 B3 Patte...
Summary: Have written an awk and sed script contained in a .bat file. It operates on a long input text file. What I want to do is have the .bat file operate ...
Summary: A question for ya. Using sed or awk or both. Below is an example of a file. These are accounts. From the record PT to the next PT is one account. ...
Summary: Hi, I am going a global replace using the below script.My problem is the last line of the property file is getting deleted.Please any idea on this iss...
Summary: Hi I have a awk/sed script that I am trying to create to remove lines from a file that I thought I needed to call sed in the awk script. This is wha...
Summary: Need help with awk or sed script. I have multiple files with the following in first line NUMBER_COLUMNS=15 I want to increase the number by 1 so it sh...
Summary: how can i write a shell script that achrives all of my bash shell scripts. it searches thru all the files and subfolders in my home directory, and tar...
Summary: Hello, I'm a shell script learner. Could you do me a favor to tell me what is it. $(($*)) actually I don't understand the meaning of double quotes. wh...
Summary: I feel that this is pretty strait-forward, so I hope someone can help me out. I want to write a shell script inside the linuxrc file of an initrd imag...
Summary: Hello, How can I do a sed script which modify a file himself ? I try : sed "s/dirty/clean/" myfile > myfile But after that, myfile is empty... How can...
Summary: Hi! I need help in writing a script, in fact, couple of scripts that should do the following: we have a file, the 1st script divide the file into rand...
Summary: Thanks! That was exactly what I needed. Here is what I used: I saved this as a sed script called sub: s/'[^']*'/\n&/g :loop s/\(\n'[^']*\) \|-\([^']*...
Summary: Can you please post a sample of the data. Does the abcd.sed script really only contain --------------------- (ECONF2) run ECONF2 ---------------------...
Summary: Perhaps I should have posted this under programming, but it seems like this is the place for scripting questions. I have a script that's supposed to r...
Summary: I had no idea this would be so difficult to do, most people have no idea. My idea was using a sed in a csh script since I dont know anything sed scrip...
Summary: Hi, I have a question regarding the shell script.Program called mysed that applies the sed script given as the first argumenet against the file given...
Summary: I'm a windows 2000 user with a Quake 3 game server being hosted on a remote Linux machine. I've been playing around with telnetting over to the linux ...