10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have multiple files that read:
And I want to rename them using awk to
Asa_ddmmyytt.txt and so on
If there is a single command or more efficient executable please share!
Thanks! (4 Replies)
Discussion started by: Jesshelle David
2. Shell Programming and Scripting
I have a environment property file which contains:
value1 = url1
value2 = url2
value3 = url3 and so on.
I need to search all *.xml files under directory for value1 and replace it with url1.
Same thing I have to do for all values mentioned in input file. I need script in unix bash... (7 Replies)
Discussion started by: Shamkamde
3. Shell Programming and Scripting
I have a text file with entries like
..N so many records like this.
I want to split this file into multiple files like cluster1.txt, cluster2.txt, cluster3.txt, ..... clusterN.txt. (4 Replies)
Discussion started by: sammy777
4. Shell Programming and Scripting
The following code will split the infile into multiple files. However, I need it to insert the same first 3 lines from the original input file into each splitted file. How do I modify my script below to do so:
print -n "Enter file name to split? " ; read infile
echo "Invalid file... (4 Replies)
Discussion started by: mrn6430
5. Shell Programming and Scripting
I'm working on a script which has to copy multiple files from one server to another server. The list of files that are to be copied is present in a file say input.txt.
for ftp'ing a single file say 'new.c' the following code... (2 Replies)
Discussion started by: i.srini89
6. Shell Programming and Scripting
I have a file with lines something like.
789_end (6 Replies)
Discussion started by: abinash
7. Shell Programming and Scripting
I have a folder which contains multiple config.xml files and one input file, Please see the below format.
Config Files format looks like :-
<NVPairs name="Global Variables">
... (0 Replies)
Discussion started by: haiksuresh
8. Shell Programming and Scripting
Being new to this area .I have been assigned a task which i am unable to do . Can any one please help me .
Hi I have requirement where i have input file XYZ_111_999_YYYYMMDD_1.TXT and with header and series of Numbers and Footer.
I want to create a mutiple output files with each file having a... (2 Replies)
Discussion started by: bhargavkr
9. Shell Programming and Scripting
I am trying to figure out a way to combine multiple sources with different data on a single file, and I am trying to find the best way to do it.
I have multiple files, let's say A, B, C and D. A has a field in common with B, B has a field in common with C, and C has a field in... (2 Replies)
Discussion started by: ppucci
10. UNIX for Dummies Questions & Answers
How do I use the grep command to take mutiple text files in a folder and make one huge text file out of them. I'm using Mac OS X and can not find a text tool that does it so I figured I'd resort to the BSD Unix CLI for a solution... there are 5,300 files that I want to write to one huge file so... (7 Replies)
Discussion started by: coppertone