Computing.Net > Forums > Unix > Search Results

Quick Links

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

Sponsored Results for: awk,sed script

Ads by Google


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

Product Search Results


Results 26 - 50 of 3253

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

awk shell scripting
    Summary: is it possible with awk or grep (or some other unix tool) to stop the search of a text file after the number of results reaches a predifined number....

Can I replace paragraphs using sed?
    Summary: sed -e '$!N' \     -e "/.*rocks $1.*\n.*books $2.*/ba" \     -e '$!{P;D;}' \     -e 'p;d' \     -e :a -e "s/rocks $1/rocks $3/;s/books $2/books $4/" \...

sed - reverse every 2 lines
    Summary: I'm trying to write a sed script that will switch every 2 lines. For example: Input: Hello there 1 Hello Gerry2 Bye Tim Bye Tim Beans Output would be:...

awk help
    Summary: Ok, based on your example record, I get the following: Field / value $1 - David $2 - Smith $3 - (408) $4 - 123-4567 $5 - 123 (month 1) $6 - 345 ...

Shell Code Help
    Summary: if i understand you correctly, you want to get the line that has "id=" and then the line that is 6 lines down ? ie [ID:...] right? If the 6th line dow...

Help parsing a path-filename
    Summary: Dear gurus, (from a Unix beginner) After reading man pages on awk/sed, and still not having a clue, would someone show me the way in a Unix script to ...

sed scripting question
    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...

sed delete minus one
    Summary: Anybody know how to get sed to delete lines up to (but not including) a certain line? To delete all up to and including the line, I use 1,/whateve...

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...

sed problem
    Summary: Hi. I am a bit stumped on a rather easy problem .... I have a file with that contains a list of names ( exactly 1 name per line. no spaces) I need ...

SED Command help
    Summary: I need to write a sed script that will replace 2 values with a single value. i.e I have to change any occurance of x or X with an s in a file named se...

Need help with sorting a file
    Summary: Guys, I am new to UNIX world and really need help of your expertise. I have file with each line of fixed length eg., DT00123 1234 FFF 56565 DT00923XX3...

sed script ??
    Summary: sed -e 's/@.*$//' -e 's/\(^.\).*\.\(.*\)/\1\2/' ...

Trouble with formating output
    Summary: is this a homework assigment? if not, you always have the option of invoking an external utility/script from KSH. Invoking a custom perl script is no ...

Substring after =
    Summary: When using the traditional unix tools such as awk, sed, tr, etc. you have no option but to rename the file after processing finishes. I'm not much of ...

Handling // character with sed
    Summary: I'm not understanding what your final output should look like, but maybe I can get you started. You have two issues (I'm using ksh): 1) To embed she...

Unix script help (strip a period)
    Summary: I am trying to pull data out of a file to execute a series of repetitive commands. One of the fields is a {hex number}.{hex number} pattern. I need th...

sed - How to do conditional line in
    Summary: I am running a text file through a sequence of sed scripts, but one clean operation escapes me. I want conditionally insert a blank line between *an...

To Extract information from an html
    Summary: Hi, I have a file,lets say InputList which contains a list of files. Inputfile /home/kgeorg/nishana/survey_pages/common/AdvancedSearchPage.jsp /home/k...

shell script
    Summary: Hey could you please help me!!! Im trying to get an awk script to read a file (data.txt). this file conatains numbers only and print it to screen! in...

Unix Awk
    Summary: help!!!! arghhhhh!!! Im trying to get an awk script to read a file (data.txt). this file conatains numbers only and print it to screen! into and array...

script to combine data from 2 files
    Summary: well, there's no need to use awk that many times :) NR==FNR{ a[FNR]=$2 c=FNR next } { for(i=1;i<=c;i++) { print a[i],$3 } } save the abo...

replace in sed
    Summary: This is a tricky one. First, if the shell variable to be embedded in the sed script contains a front slash, it must be escaped \/ FX="\/xyz\/data" S...

grep - print next line too
    Summary: if you have Python on your HPUX (i suppose) you can do this: f = open(your_file) while 1: line = f.readline() if line == '': break if "...

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

Sponsored Results for: awk,sed script

Ads by Google