Computing.Net > Forums > Unix > Search Results

Quick Links

Computing.Net Solution Center
Desktop Access to Search
Ask a New Question

Sponsored Results for: sed script

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: sed script

Product Search Results


Results 26 - 50 of 3000

[higher confidence] - higher confidence, [lower confidence] - lower confidence

delete repeated entries
    Summary: Hi all, the output of my nawk/sed script is leaving me with many repeated entries, ie: entry1 entry1 entry2 entry2 ... There are not similarities on t...

How to insert environ string into a
    Summary: Hi, I'm using korn shell. The contains of $ddir is not showing up after running the sed script. I used both suggestions. I'm not sure that the quotes ...

Help needed ! Mail through UNIX !
    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...

how to replace a line in a file
    Summary: William: I tried running your sed script above and I'm getting a garbled command error. I tried it on Solaris 7 and Red Hat Linux 7.1 Regards, Nails ...

awk search
    Summary: chui, please tell us about the course you are taking. have they told you about man pages? how about find/awk/sed - scripting tutorials? ...

printing a line thru a loop
    Summary: Raxit: I'm not certain what you're doing with the sed script, but you have problems with the while loop. You don't say what shell you're using; I'm ...

Unix installation with win 98/NT or DOS
    Summary: SCO could tell you better, they give it away to UNIX students if that is what you are. I do know you will have to format the drive to UNIX native one ...

Parsing patterns
    Summary: Hi Kromo, The Jim script works fine for me. Have you error messages ? What output did you get ? I have modified the awk script a little bit. For lines...

Root Filesystem is 95% full
    Summary: Hi Ed, Your proposed command is not exactly my requirement as it displays the file usage at all levels. Actually I want to display the top 10 space us...

Remove old hosts from known_hosts
    Summary: Embedding shell variables in sed scripts can be tricky: sed -e '/'"${line}"'/d' known_hosts ...

sed and shell script question
    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 ...

trouble with c-shell script & sed
    Summary: Can someone help with the script i'm trying to write; it uses sed. I think i'm doing something wrong with syntax. The script is supposed to replace ...

script in sed
    Summary: I don't understand what the following script does: sed -e ' :more /^$/N s/^\n// tm...

How to use sed editor in a shell script
    Summary: Nails, It worked like a charm. Thanks for the response. Now as i am new to shell scripting and sed itself, i guess you don't mind helping me on this o...

sed dropping last line of file
    Summary: Greetings... I would be very thankful for any insight into this situation: It seems to me as though a text file I've received does not have a new line...

saving altered file in script
    Summary: I have a script that inputs a line into the first line of a text file using sed: sed '/1i\ '$LINE'' <$FILE FILE and LINE are inputted using read. ...

Pass environment variables to sed
    Summary: Is it possible to pass a Unix environment variable to sed? The example script I have included shows what I am trying to do and the header explains why...

Script for diskspace, A challenge
    Summary: William is right. Unless you are working under the contraints of homework, no one uses csh for scripting because it works poorly. #!/bin/ksh rm /tmp/d...

Unix c shell script
    Summary: Here is what I need to do. First, I want to find all the .cpp and .h files then check if the file is not directory, not already in lower case, and no ...

Replace a string in Script
    Summary: I need to create a script, taking a number of parameters (a target string, a string to replace the target string, and a number of files), that perfor...

parameters in sed
    Summary: Hi I am using sed in a shell script. I am having problems in using parameters in sed for search and replace. TEST=`grep "'/" source | head -1` sed s/...

Sed keeps erasing everything
    Summary: I'm writing a csh script, and everytime I try to change this file with sed, it erases everything, this is the code i'm using (to change commas to comm...

Using hex-code in shell script
    Summary: In shell script sed or awk command, can I use hexadecimal code for substitution? I want to perform the following: Input file: Line1 Line2 Line3 Line4...

checking date in Shell script
    Summary: Just whipped up this lil script, uses cal and some sed. Format is mm dd yyyy. #!/bin/ksh if [[ -z $1 || -z $2 || -z $3 ]];then echo "usage: dayofweek...

ksh script help
    Summary: Hi, I am trying to write a script that can convert the date at the beginning of each record and preserve the rest of the data. The records are stored...

Jump To: << | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | >>

Sponsored Results for: sed script

Ads by Google