Summary: i hv written a shell script which exports data to a file and i want to filter out one particular line from that file and manipulate that line further....
Summary: I'm trying to remove a specific line from a file based on a user defined input. I had found a similar situation where sed was used, but when I tri...
Summary: Hi, I have a file containing 556,247 lines in it. I would like to extract the lines from 200,000 to 300,000. How do I acheive this using a single sed ...
Summary: Hi frnds, I donno if I amputting in the rt forum or not.But i am trying to get a week number from a given date. This code by a member on computing....
Summary: Hello james, thanx 4 the reply. prg02 should have been fail & not success. i am sorry 4 that mistake. I will just rephrase the question again ... more...
Summary: hi, i need to pick up a line from a file and store it in a variable.i dont know the number of lines that the file contains...so i cannot specify it by...
Summary: Hi, I want to get the second field from a file (report.txt)like this: $ cat report.txt SheetName|RecordName|FieldName|TableName|ColumnName|Change Summ...
Summary: I have a file with 10000 lines. I want to read the 8800th line into a variable without going through the complete file as it takes a long time. Also ...
Summary: Hi guys this my sample file sample.ksh DBUID=testdatabase DBLOC=wm4r2 i want replace DBUID=testdatabase by DBUID=$myvariable (i.e myvariable=arundata...
Summary: I want to extract certain lines of a file between separators such as: ------ aaabbbb ------ aaaaa xxxxxx ------ xxxxx What utility (other than awk or ...
Summary: I am attempting to find a particualr line in a file and then replace it. Unfortunatly i can only guaruntee the content of the line prior to the one i...
Summary: I was wondering if you could help me with a script to remove ALL the lines in a file that contain the word "BOUNDARY". I have the script like this so...
Summary: Hi, I have a file which contains 15 lines (could differ). I want to exclude the first 2 lines and the last 6 lines from this file. All the lines with ...
Summary: Hi, I have an env file with multiple lines separated by semicolon. I would like to retrieve a particular line from the file, extract each field separa...
Summary: sed can target certain lines, then make substitutions just on those lines. For example, for each line that contains xyz, change each occurrence of fo...
Summary: What makes this more complex is the need to match up multiple lines of the same acct/amt such as: 000681047 -600.00 000681047 -600.00 000681047 600....
Summary: I forgot the command, but i need to view the specific line of the file.. lets say: I have a list of names in the file called "names" for example Modan...
Summary: hi, I am trying to write a script to delete few lines from the existing files. The requirement is as follows: 1. I need to grep for a pattern "abc" in...
Summary: Hello All, I am looking for a way to get a string from a file and assign it to a variable in Shell Script. Example I have a file FILE containi...
Summary: Hello all, I have wriiten a script to create a html file on the fly. It is as shown below :- 1>echo " " > log.html 2>cat test.log >> log.html 3>echo "...