10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear All
From below mention input file I want op file as mention. Kindly help.
IP file:
"BSCGNR4_IPA17_C" 329 140119 0717 RXOCF-105 KJO001_BASC_NG AC FAULTY DG ON DOOR OPEN
Needed OP:
140119 0717 KJO001_BASC_NG AC FAULTY DG ON DOOR OPEN
Note that string mark in red as variable in... (3 Replies)
Discussion started by: jaydeep_sadaria
3 Replies
2. Shell Programming and Scripting
Dear Friends,
I have a file
a.txt
1|3478.12|487|4578.04|4505.5478|rhfj|rehtire|rhj
I want to get the field numbers which have decimal values
output:
Fields: 2,4,5
Plz help (6 Replies)
Discussion started by: i150371485
6 Replies
3. UNIX for Dummies Questions & Answers
Hi i have a command in windows which captures the filenames with the same pattern and route it to another file.
for example filetest_20110921, filetest_20110922,filetest_20110923 etc
I would like to know the command in UNIX/LINUX for the same. The command which i am using in Windows is
... (12 Replies)
Discussion started by: mansurkhalil
12 Replies
4. Shell Programming and Scripting
Hi Guyz,
I need to capture first N Bytes from the first line of my file.
Eg. If i have following data in File1
414d51204541495052475731202020204a910846230e420c Hello 3621363663212 Help Required
Then, i want the value of first 48 Bytes to be stored in a variable.
That is, variable... (5 Replies)
Discussion started by: DTechBuddy
5 Replies
5. Shell Programming and Scripting
I have to ftp a file from a directory in Windows, I need to be able to ftp the last file that was put in the directory, the only thing I know about that file is that the 4 first digits are always the same (3520) then it is a _5(more digits), random digits, so it will be something like this... (1 Reply)
Discussion started by: rechever
1 Replies
6. Shell Programming and Scripting
Hello,
If I run a program from within shell, the output is displayed in the command line terminal. Is there a way I can capture that output and choose only the very last string in it to send it to a new file?
Thank you (6 Replies)
Discussion started by: Lorna
6 Replies
7. Shell Programming and Scripting
How to capture the rows in a file after executing the store procedure using the perl scripts? (0 Replies)
Discussion started by: vinay123
0 Replies
8. Shell Programming and Scripting
Hi All,
I have a file that gives me new line/output every 5 minutes. I need to create a script that capture new line/output besides "IN CRON_STATUS", in this case the new output is "begin ------ cron_status.sh - -----------".
I want this script to capture the line starting from "begin ------... (0 Replies)
Discussion started by: fara_aris
0 Replies
9. Solaris
I would like to capture the output from ping into a file.
I am on solaris 9.
I can get the basic "server is alive" command in a file, but I want the response from ping -s into a file. I am going to schedule this in cron to run at certain times during the day.
When I run the ping -s in a... (3 Replies)
Discussion started by: MizzGail
3 Replies
10. UNIX for Advanced & Expert Users
I have a file in the following Format
Fundid: 100-BankA
AccountNumber Balance
1 200
2 300
3 400
FundId:123321-BankB
AccountNumber Balance
1 200
3 100
...........
I can have N number of funds. (1 Reply)
Discussion started by: kris01752
1 Replies