Summary: Hi, hopefully someone can help me with this. I have two different data files and I need to parse them into one. scan1: 3.000000 0.350000 3.000000 3013...
Summary: Hi, How to gzip multiple files into one .gz file. Ex: I have 3 files - a1.txt a2.txt a3.txt I want to zip them into aall.gz and later when I unzip, it...
Summary: If the records are in ordered one to one correspondence as they are in your example: awk '{str = $3 ; getline < "File-1" ; print str "." $3 > "File...
Summary: I'd like to have a script that breaks a large file into multiple files. Basicaly, the script reads a large file and looking for a line "PJL EOJ", if l...
Summary: Hi, I want to use Shell Script to check multiple file exists and then execute other tasks, I use the following compound condition, but neither succeed...
Summary: Hi, How to parse a file that has more than 199 columns. 'awk' fails when line is having more than 199 fields. Is there a way to resolve this...what ...
Summary: How do I put the contents of a file into a variable. A file called 655.grp contains " /Brightwood/ {cat="Brightwood"} ; /East Longmeadow/ {cat="East ...
Summary: Hi, I am trying to split a file which has fixed 10 rows into two files in PERL. The first 5 rows into fileA and the last five rows into fileB. I have ...
Summary: UnixNewbie: I'm not certain what you're asking. Are you asking to output the "contents" of two separate files on one line? If so, this will do it: c...
Summary: Are you thinking you can do a global substitution, replacing the newline characters with something else, thus creating a single-line file? The newlin...
Summary: Cheers for that - The problem was that the names of the file in one log file was the full directory name ( /opt/etc/file2 ), whereas the other file si...
Summary: You'll need to write a script to parse the file using basename to get the name of the file and dirname to get the path. Depending on what your goal i...
Summary: hello, may i know how can i find and change string in multiple file...i had refer some of the post here .. but found that all is about find and change...
Summary: Hi , I wish to know how to combine two files to one file using unix command. I had two files aaa and bbb aaa files: 02 02 02 02 02 02 and bbb files :...
Summary: I am transfering tens of files into a windows system. I have a number of records in each file: x, y, z. When I transfer it into windows based pro...
Summary: I think this should be a very simple task for UNIX guru. I try to learn how to do this. I have many files reside in a directory. The name can be chang...
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...
Summary: Well this may start out a tad bit confusing but here goes: Dossy bit - I have managed to condense the output details from mem.exe in batch to get a si...
Summary: Finally I found a solution for my complicated problem. :) I got the answer from other forum (in www.tek-tips.com), but I'll put the solution in thi...
Summary: Hi, I have a .sh script, that is concatenating four 1 GB files into one file. the expected result is 4GB file. but the result of the concatenate is o...
Summary: The file name are the same eg est0308,est0309,est0310 08 ,09 & 10 are the dates I donot want to create multiple files I want it to apend to a single f...
Summary: i'm trying to parse a text file as well, and i'm open to using perl, though i've been experimenting with a bash script using gawk. my scenario is as...
Summary: awk can read multiple files. See my solution to "Can we do this in UNIX?" about 10 entries below this one. That solution rebuilds one file by pullin...