Summary: threadstarter, aka OP, says he wants to print from the grabbed pattern till the end of line. The awk solution does just that. Grep, although can searc...
Summary: i deleted a route in routing table using route delete.. its deletes the route.. bt yet again when i use netstat to see the routing table its still th...
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...
Summary: Hi I try to add file name in end of the line of every row.Its work one file. but same code is not work other same type of file File Data: A,VF-NL...
Summary: I need a script to strip part of the filenames. I have a mainframe background, so this unix stuff is so new to me. I can do it with many lines of co...
Summary: The problem is that you need to figure out if the week of January 1st is less than 7 days long. I'm tired and could probably do this cleaner, but I s...
Summary: If there is a parameter "b" on a line, there will always be two other parameters on the same line "a" and "c". Then take the value of parameter "b" wh...
Summary: Hi Gurus, I use below script to add header and trailer to files in a folder. When executed, it is removing the " of 4.5 & yyy.xsd from the header. Ca...
Summary: Hi All, I have two files file1: abc,def,ghi,5,jkl,mno pqr,stu,ghi,10,vwx,xyz cba,ust,ihg,4,cdu,oqw file2: ravi,def,kishore ramu,ust,krishna joseph,stu...
Summary: Need to parse a file in this way: The file is a multi-line flatfile, containing whitespace separated keywords, ex. one two three four five six seven e...
Summary: Hi There. I am running a unix script that ftp's into an as/400 i-series server and downloads files into a unix filesystem. These files are all suffix...
Summary: If you are sure of your data, delete 2 from field 1. I do not understand the significance of the period. Well, setting FS and OFS to the period will...
Summary: Hi, I have a file which has data as path/aa1.txt path/aa2.txt,...(each in separate lines) I want a unix script to sort this file in order. It is not w...
Summary: Hi But how would I check the latest empty folder and non empty folder. I need to write a scrip, first to check the non empty folder and copy files fro...
Summary: I am new to Unix and working on some simple shell scripts..Q. Create a script file that sums the numbers passed to it as arguments on the command ...
Summary: Hi.. Thanks for your response!! I was already trying with the EOT to disonnect from DB in my script but i do get syntax error. I've just pasted with t...
Summary: Sorry, but I just don't have the time to this as it will take a lot of parsing and date arithmetic. Date arithmetic in Unix - especially at the minut...
Summary: Hi Gurus this is working finee with tested values #!/bin/ksh V_DATE="2007-11-30" V_ID=789 V_NAME="john_${V_ID}_has_${V_DATE}_s" FILE_NAME=`echo ${V_NA...
Summary: Actually, the set command is also available in the bourne and korn shells. The set command parses a setting setting the objects equal to the command l...
Jump To:
1
Sponsored Results for: cat concatenate deleting first line