10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have typical logs file something of these formats -
suffix part is after the underscore ( ie a.log or b.log )
I need to process the files in ascending date order, but descending suffix order, and check if the file exist and... (12 Replies)
Discussion started by: scott_apc
2. Shell Programming and Scripting
I have a program cfxfrwb which is designed to remove headers from reports files.
The cfxfrwb is located in the following directory /u01/efin/v40/live/bin
I run the program against a single report file in the temp directory and it does it's job../cfxfrwb... (2 Replies)
Discussion started by: captainrhodes
3. Shell Programming and Scripting
I have a log file which is attached here:
ACCTXN.ALLOC, ACCTXN.IDX, ACCTXN.UDX, AE_COMS, AGENCY are different file names present in my input file (it could be 000s files and all names are starting with ).
Now, I am interested in getting the files which are having " Predicted... (1 Reply)
Discussion started by: rishav
4. Shell Programming and Scripting
I have files in our UNIX directory like the below
-rw-r--r-- 1 devinfo devsupp 872 Sep 14 02:09 IMGBTREE27309_12272_11_1_0_FK.idx0
-rw-r--r-- 1 devinfo devsupp 872 Sep 14 02:09 IMGBTREE27309_12272_11_0_0_PK.idx0
-rw-r--r-- 1 devinfo devsupp 432 Sep 14... (7 Replies)
Discussion started by: rbmuruga
5. Shell Programming and Scripting
I have a directory in which there will be several files. i want to get all the files and pass it to a piece of code for processing on the files.
This is the piece of code which does the processing.
tr "\n" "|" < (log file name) | tr "$" "\n" > output
echo ' ' >>output
while... (1 Reply)
Discussion started by: suresh_kb211
6. Shell Programming and Scripting
I have a requirement to search 3 files in a directory and process them after they arrive. I know the names of the files and also the directory where I have to search them. These things are going to be constant.
I used the "test -f" command to search a single file. That is working... (1 Reply)
Discussion started by: swatipevekar
7. Shell Programming and Scripting
I am new to scripting and confused with how to do this efficiently. I am trying to use AWK to do this.
I have a lot of files in a folder which has the data of my throughput measurements in two columns i.e. Serial # and Throughput. like this
178.996 ... (1 Reply)
Discussion started by: hakim
8. Shell Programming and Scripting
I have the folowing input file, the file looks like below
I want my output to look like this
x001_ameint_2.zip (1 Reply)
Discussion started by: ramky79
9. Shell Programming and Scripting
I have the following two files:
700 (2 Replies)
Discussion started by: moutaz1983
10. Shell Programming and Scripting
How to create a shell script which takes in to account all the files present within a directory DIR one by one
suppose i have a directory named DIR where there are files with the extension .ABC
i want to create shell script which processes all these files one by one.
... (1 Reply)
Discussion started by: skyineyes