10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I've got a folder with several files I'd like to manipulate. The file names are all ending in .txt and I'd like to loop through their names for manipulation. This is the script I've got so far:
for i in 'ls *.gtc.txt|cut -d "." -f1';
It should be easy enough, but... (2 Replies)
Discussion started by: zajtat
2. UNIX for Dummies Questions & Answers
I would like to batch concatenate files by pairs. I have quite a few of them so I would not like to do that pair by pair separately.
the names of the file is of the type:
and so on...
I would like to concatenate file1... (2 Replies)
Discussion started by: jawad
3. Shell Programming and Scripting
Hi all ,
I am new on this forum . I have to face a particoular implementation issue and I need some help .
I need to read a particoular file (an xml file) and after reading it I need to call an Oracle Stored Procedure passing the content of the file as paramenter , in order... (3 Replies)
Discussion started by: Kolas79
4. Shell Programming and Scripting
please help me construct the command. i want to loop through all files named bam* and bed*. My awk works for a particular pair but there are too many pairs to do manually.
I have generated multiple files in a folder in a given pattern. The files are named like
bam_fixed1.bam... (2 Replies)
Discussion started by: newbie83
5. Shell Programming and Scripting
I have a req. where i need to read data from multiple files and take counts of row which satisfy the condition. e.g.:
Col1 Col2 Col3
12 ab cd
15 de fg
25 gh tm
Col1 Col2 Col3
21 ab1 cd1
13 de1 fg1
25 gh1 tm1
i need to find the count of rows... (6 Replies)
Discussion started by: kunal007
6. UNIX Desktop Questions & Answers
I have a number of files in a directory named like this:
fooP1, fooN1, fooP2, fooN2 ... fooP(i), fooN(i).
I'd like to know how to combine each P and N pair into a single file, foo(i)
John Balwit (1 Reply)
Discussion started by: balwit
7. Shell Programming and Scripting
I am writing a ksh which has to load 7 files(.dat files) from input directory into oracle tables using sql loader. The process has to take each file at a time and once if it is loaded succesfully using sql loader into oracle tables then the process has to pick next file and load it into oracle... (2 Replies)
Discussion started by: vpv0002
8. Shell Programming and Scripting
I posted this in the Solaris forum, but I don't think it's platform specific, so I'm posting it here.
Here is the situation. We are a company that has been using a professional publishing system, the software is called "ProType". It runs on Solaris 2.4, however it is no longer supported and we... (6 Replies)
Discussion started by: Fred Goldman
9. Shell Programming and Scripting
I've solved one problem.
Here's the next.
I'm writing a script file that needs to go through a directory and list all files in that directory.
I'm using TCL/TK.
I figured out how to go through the directory and how to loop through it, but I ran into a little problem.
... (2 Replies)
Discussion started by: kapolani
10. Shell Programming and Scripting
I have a file a.lst which lists all files.
I want to process these files mentioned in the list file in a loop.
Say I want to display only the first line of all the files a.dat , b.dat, c.dat.
How can I go about it?
Please help. (5 Replies)
Discussion started by: dharmesht