Computing.Net > Forums > Unix > Search Results

Quick Links

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

Sponsored Results for: print a file line by line

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: print a file line by line

Product Search Results


Results 1 - 25 of 7703

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

print a file line-by-line
    Summary: ...i mean in a script, if i want to read that file "foo.txt" and print out its contents line by line. Thanks ...

Reading a file line by line
    Summary: Hi, I wrote the following code to read a file line by line #!/bin/ksh for i in `cat a.txt` do echo $i done This is not showing me the file contents li...

read a file line by line in unix
    Summary: reading a file line by line in unix ...

reading from a file in unix
    Summary: how to read from a file line by line in unix ...

formatting a file
    Summary: I would like to search a file line by line and remove a delimiter and any chars beyond the delimiter such as a decimal point and any thing beyond the...

find a file in a directory
    Summary: grep -l will print a file name where a match occurs and not the contents of the file. You can use this to generate a list of files that contain a subs...

extract a specific line from file
    Summary: just a normal line, not by delimeter... for example, the 4th line of an input file.. thanks ...

how to replace a line in a file
    Summary: my problem is i want to replace a line in a file e.g i want to replace the line DBUID= (some name) with DBUID=$user variable file name is sample.ksh...

Reading a specific line from file
    Summary: To add to above, if you want to have output assigned to a variable then you can modify the line head -$linenumber $filename|tee temp.txt|tail -1 temp....

Cancel Out lines in a file
    Summary: Jim, Thanks for your solution. It's working if i run it from the command line; however when i put it in a file and run as the script and redirect the...

print columns from files to a file
    Summary: The awk solution below will ensure that it is joining lines that have the same key value. file1 is processed as the main file, and your example shows ...

Combining files line by line
    Summary: Hi, I need to combine 2 files line-by-line e.g.: file1: a b c file2: x y z results: ax by cz I have been trying to loop with sed, but with no luck. Re...

Merge multiple files line by line
    Summary: Hello, Need urgent help in creating a script to merge multiple files line by line, for ex: file1: 1 2 3 4 5 file2: 1 2 3 file3: 1 2 3 4 output should...

Help: how do i search a file?
    Summary: Hi Jason, I suggest you use Awk. It's the best, when the no of records involved are more. Grep has a limitation as it does scan the whole file once...

print the next line
    Summary: Hi All, How can I find a word and print that line and the next line as well? I know this: awk '{if ($2=="words") {print ab,"\n",$0} {ab=$0}}' file.txt...

Script to delete lines from a file
    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...

Extracting lines from a file
    Summary: I want to extract certain lines of a file between separators such as: ------ aaabbbb ------ aaaaa xxxxxx ------ xxxxx What utility (other than awk or ...

Unix to Win98 print doesn't line up
    Summary: I am running SCO Unix System V and I am sending a print job (invoice) to a Win98 host. The first page lines up with the pre-printed form. On the next ...

Script to Remove lines from a file
    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...

Removing a lines in a file
    Summary: How can I remove a line in a file? e.g. File containing the following 307 319 352 If I wanted to remove line 319, what would be the syntax? Any alive ...

finding consecutive lines in a file
    Summary: Hi, I am trying to find a way to grep for consecutive lines in a file. I need to see if a specific string appears 24 consecutive times in a log file ...

getting a specific line from a file
    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....

Delete first line of a file
    Summary: How do i delete first line of a file. The file starts with page break ^L. The first line contains the page break ^L. The file may have multiple pagebr...

Compare Lines within a file
    Summary: I want to compare lines in a file and if there is duplicate information in a certain field(s) remove it but leave the field seperators. fileA a632713,...

Find length of each line in a file.
    Summary: Hi All, I have a file, contains: "jfd, jlk, slj, lsk, lskd, sldj, adk" "sdj, lkdjf, lsdjfj, lsjf, kds, skldj, slk" "kdj, kdsk, skd, skdk, sljs " .....

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

Sponsored Results for: print a file line by line

Ads by Google