10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So I'm stumped.
First... APOLOGIES... my work is offline in an office that has zero internet connectivity, as required by our client. If need be, I could print out my script attempts and retype them here. But on the off chance... here goes.
I have a text file (file_source) of terms, each line... (3 Replies)
Discussion started by: Brusimm
2. Shell Programming and Scripting
I have two files: file1 and file2
file1 has the following info:
file2 contains an IP address (18.104.22.168)
What I want to do is replace localhost with 22.214.171.124, so that the... (4 Replies)
Discussion started by: Jay Kah
3. Shell Programming and Scripting
Hi, I am trying to use an awk command to replace specific character positions on a line beginning with 80 with contents of another file.
The line beginning with 80 in file1 is as follows:
I want to replace the 000000000178800 (positions 34 - 49) on this file with the contents of... (2 Replies)
Discussion started by: nwalsh88
4. Shell Programming and Scripting
This is the only solution to my task. So, any help is highly appreciated.
I have a file
chr1 100 200 abc
chr1 120 300 def
chr1 145 226 ghi
chr2 567 600 unix
Now, I have another file by name
input2.bed (This file is a binary file not readable by the... (7 Replies)
Discussion started by: jacobs.smith
5. Shell Programming and Scripting
I need to read a file until I find a blank line. and in the next iteration I want to continue reading from the line I find a keyword.
For ex: my file looks like
First I want to read the file... (2 Replies)
Discussion started by: infintenumbers
6. Shell Programming and Scripting
Please I want to replace all the contents beween "Section" and "Ensection" in file1 with all contents in file2. Example:
ViewPort 0 0
Modes "1024x768" "800x600" "640x480"
Depth... (9 Replies)
Discussion started by: powelltallen
7. Shell Programming and Scripting
I am facing issue while reading data from a file in UNIX. my requirement is to compare two files and for the text pattern matching in the 1st file, replace the contents in second file by the contents of first file from start to the end and write the contents to thrid file.
i am able to... (2 Replies)
Discussion started by: seeki
8. Shell Programming and Scripting
Need help on this
I have 2 files
one file file1 which has several entries as :
another... (2 Replies)
Discussion started by: namitai
9. Shell Programming and Scripting
I have a file which has following contents:
localhost_IP_SIP_1233026552975.xml ... (2 Replies)
Discussion started by: Aditya.Gurgaon
10. Shell Programming and Scripting
I need to write a shell script (ksh) to read contents starting at a specific location from one file and append the contents at specific location in another file. Please find below the contents of the source file that I need to read the contents from,
-----# more... (5 Replies)
Discussion started by: dnicky