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.
Extracting a part of text using AWK
Name: raptor3624 Date: April 12, 2007 at 06:08:26 Pacific OS: Win XP CPU/Ram: 2 gig Product: AMD
Summary: Hi: Here's a way of doing it: #!/bin/ksh ddate="06/28/2003" # splits month, day, year into $1, $2, $3 respectively set - $(IFS="/"; echo $ddate) cal $1 $3|tail +3|head -1|awk ' { # $NF is a Saturday d...
Summary: I am using a sed commmand to replace a block of text over several lines. I do this with a start string and an end string to locate the entire block of text, and replace this section with a single wor...
Summary: Simply need a method of opening a file, replacing each occurance of a piece of text ("\begin{mcq}") with another and then saving the file.. on a linux platform, can be using a shellscript (preferably)...