10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All-I am new to Unix , I need to write a script. Can someone help me with a requirement where I have list of files in a directory, I want to Merge the files if a pattern of string matches in filenames?
AAAL_555A_ORANGE1_F190404.TXT
AAAL_555A_ORANGE2_F190404.TXT
AAAL_555A_ORANGE3_F190404.TXT... (6 Replies)
Discussion started by: Shankar455
6 Replies
2. Shell Programming and Scripting
Hi All,
I am executing this command to capture all the outputs from Error_*.txt files to all.txt file as a single output.
head -n -5 Error_*.txt > all.txt
It gives me the output in all.txt as:
==> ErrorLog_batchSearch.txt <==
2014-03-09 17:07:28,193 ERROR Cannot parse property value... (6 Replies)
Discussion started by: ankur328
6 Replies
3. Shell Programming and Scripting
Hi,
I have a file that needs to be converted:
content is:
a, b, 4
a ,b, 5
x, y, 1
a, b, 1
x, y, 3
how can i get:
a, b, 1|4|5
x,y 1|3 (1 Reply)
Discussion started by: nike27
1 Replies
4. Shell Programming and Scripting
i have an existing script that is used to send an e-mail containing the alrams that appear on the server.
But i need to create a daily log file containing all the alarms that was send that day.
i tired to add at the and of the script a command, echo command but for some reason the file was... (1 Reply)
Discussion started by: ashraf_victory
1 Replies
5. Shell Programming and Scripting
Hi ,
I have a file myhost.txt which contains below,
127.0.0.1 localhost
1.17.1.5 atrpx958
11.17.10.11 atrpx958zone nsybhost
I need to append words only after "atrpx958" like 'myhost' and 'libhost' and not after atrpx958zone.
How to search the word atrpx958(which is hostname) only,... (5 Replies)
Discussion started by: gsreeni
5 Replies
6. Shell Programming and Scripting
Dear Friends,
I would like to apend the last line of one file on my UNIX box. Please let me know if you have any suggetsion for this.
E.g: I have a file ABC as below
Required Help
Rajesh Amathi
|
|
Thanks in advance.
Result: I would like the get the output i.e. file ABC should... (9 Replies)
Discussion started by: rajeshamathi
9 Replies
7. Shell Programming and Scripting
Hi Experts,
I am working on HP-UX. I am new to shell scripting. I would like to have a shell script which will prefix:
1. "H|" before first row of my file and,
2. "T" for all other rows of the file.
For Example - File before running the script 20100430|4123451810|218.50|TC
20100430 ... (4 Replies)
Discussion started by: phani333
4 Replies
8. Shell Programming and Scripting
Hi All,
I have a long log file (abc.log) which contains large volume of data that need to be inserted into the database as clob.
I am having problem in inserting the long log file into the clob field if the cahracters in the file exceeds. So iwould like to truncate the file upto 32767... (3 Replies)
Discussion started by: rajeshorpu
3 Replies
9. UNIX for Dummies Questions & Answers
Hi
I have a input file :::
1583904589034853904
1690234849023849023
159823890238409
1690238490238490238490
.
.
.
The output file should have the record 16 appended to the record 15 and a variable should be added at a FIXED POSTION at 55.
The records are been processed inside a loop... (3 Replies)
Discussion started by: akashhello
3 Replies
10. Shell Programming and Scripting
Is there any way to append pdf files in UNIX? I have a apllication which creates pdf files. Now i want to append them so that it gives me one pdf file. Is this possible? (2 Replies)
Discussion started by: cp7800
2 Replies