10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am a newbie to shell scripting
I have a large log file , i need to work on the part of the log file for a particular date.
Is there a way to find the first occurance of the date string and last occurance of the next day date date string and move this section to a new file.
to explain it... (3 Replies)
Discussion started by: swayam123
2. UNIX for Dummies Questions & Answers
Input File1 constatntly running and growing in size.
My Program Erorr ddmmyy hh:mm:ss My Program Error
**Port 123 terminated
**ID PIN 12345
**My Program Erorr ddmmyy hh:mm:ss My Program Error
**Port 345... (3 Replies)
Discussion started by: eurouno
3. Shell Programming and Scripting
I need a command (or script line) that allows me to use of a part of line (given by me) as a variable. Let us assume the name of the command is MYCMD.
When I type
it must do the following job
... (18 Replies)
Discussion started by: rpf
4. UNIX for Dummies Questions & Answers
I want to copy text between expressions ">bcr1" and ">bcr2" to another file.
Any simple solutions?
Thanks (4 Replies)
Discussion started by: alpesh
5. UNIX for Dummies Questions & Answers
I am writing a script to work with files in a folder.
The files are all in the following patterns (without quotes):
"some filename - NxNN - the end.YYY"
"some filename - NNxNN - the end.YYY"
Where N = a single number and YYY is the extension.
Basically what I want... (5 Replies)
Discussion started by: sgtbobie
6. Shell Programming and Scripting
I'm using bash and brand new to shell script. I would like to do the following.
I have a string which is "UPDATE=1.0". I would like to read the value "1.0" alone in a variable. i.e the things afer "=" How do I do that?
Thanks, (1 Reply)
Discussion started by: scriptfriend
7. Shell Programming and Scripting
I may not being doing this description justice, but I'll give it a try.
I created a mailx script; there will be several messages using the same script where the only difference is the content. So I figured I'd make the content of the message a variable retrieved from a separate file. I have five... (5 Replies)
Discussion started by: royarellano
8. Shell Programming and Scripting
I'm a total newbie to Perl and Awk scripting. Let me explain the scenario, there is a DB2 table with 5 columns and one of the column is a CLOB datatype containing XML. We need all the 4 columns but only a portion of string from the XML column.
We decided to export DB2 table to a .del... (26 Replies)
Discussion started by: asandy1234
9. Shell Programming and Scripting
I have following strings in a file
What i need to do is replace the date 20070416 with anoth date which is stored in... (4 Replies)
Discussion started by: divz
10. Shell Programming and Scripting
This is what I tried:
(( vara += 1 ))
Thanks for help (4 Replies)
Discussion started by: pa3be