10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have 2 file . I need match the files based on key and then form a third file which have the matching values
OUTPUT (Needed)... (2 Replies)
Discussion started by: arunkumar_mca
2. Shell Programming and Scripting
I've got a file that looks like this (spaces before first entries intentional):
12345650-000005000GL140227 ANNUAL HELC FEE EN
22345650-000005000GL140227 ANNUAL HELC FEE EN
32345650-000005000GL140227 ANNUAL HELC FEE EN
I want to read through the file line by line,... (6 Replies)
Discussion started by: Scottie1954
3. UNIX for Dummies Questions & Answers
Here is seeking a bit of help in trying to solve a problem.
I am required to create a csv file as shown below:
by listing output_1, output_2,... , output<N> as... (3 Replies)
Discussion started by: vkumbhakarna
4. Shell Programming and Scripting
Hi Unix Gurus,
In a script, I am trying to extract unique text from a set of filenames.
I have certain files like below in a directory:
I need to extract just "OPEN_INV_" ... (4 Replies)
Discussion started by: shankar1dada
5. Shell Programming and Scripting
I have a file, let's call it "info.tmp" that contains data like this ..
I need to read "info.tmp" and for each line add strings in a way that the final output is
put /logs/ua/dummy.trigger 'AAA00001.FTP.XXX.BLA03A01.xxxxxx(+1)'
where XXX... (5 Replies)
Discussion started by: Andy_ARG
6. Shell Programming and Scripting
I am trying to do a script that will do some file copying for me. Unfortunately I have spaces in the directory names (which I cannot change) and the result is someone hard to achieve in shell scripts. I have searched everywhere on the web but does not manage to find the answer to... (3 Replies)
Discussion started by: Mr.Glaurung
7. Shell Programming and Scripting
I've searched for this for quite a while, but can't find any solution - hope someone can help.
I have various files with standard headers. eg.
and this part can be any size... (6 Replies)
Discussion started by: damoske
8. Shell Programming and Scripting
I'm using awk in a .ksh script to split one file by line prefix into different files (up to 4). The files are named after the prefix in the line, and a sequence no.
Is there any way to get the filenames in to variables too? I need _ftpfile1, _ftpfile2, _ftpfile3 and _ftpfile4 which are... (2 Replies)
Discussion started by: spidermike
9. Shell Programming and Scripting
I have filenames
Is there a way I can extract the date out of these filenames?
Thanks in advance (2 Replies)
Discussion started by: RubinPat
10. Shell Programming and Scripting
Hi! I'm somewhat new to Unix (I use it to fiddle, but not seriously), and at my work I have come to use it quite a bit. My question is this:
I want to create a script to take the tedium out of repetitious tasks. However, I need to pass a file name into the script in order for it to work.
... (5 Replies)
Discussion started by: MrToast