10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am currently trying to figure out how can i capture a particular string from a log file, then search again but from the last line it read before onward.
Basically let's say that the check runs every 5 mins via cron, counting the number of matched strings "Cannot assign requested... (5 Replies)
Discussion started by: nms
5 Replies
2. Shell Programming and Scripting
Hi Guys,
I need some advice please.
My script is not grabbing information from a text file from a certain date correctly. It seems to be grabbing everying in the file, i know it is something simple but i have looked to hard and to long, to know what the issue is.
Script
awk '... (9 Replies)
Discussion started by: Junes
9 Replies
3. Shell Programming and Scripting
Scripting Guru's,
I need your help, can you tell me how i can check a file from a certain point onwards via a ksh script.
Currerntly i am checking the whole file and can't script it so it checks from 17.01.2012 20:00:00 onwards please..
Any help will be greatly appericated.
See file... (10 Replies)
Discussion started by: Junes
10 Replies
4. UNIX for Dummies Questions & Answers
i have a file (test.txt) that contains:
20799510617900000928000000005403020110315V
20799510617900000928000000005403020110316
20799510617900000928000000005403020110317
20799510617900000928000000005403020110318V
grep V test.txt > /tmp/void.log
if
then
mail -s "void" < test.txt
fi... (2 Replies)
Discussion started by: tjmannonline
2 Replies
5. UNIX for Dummies Questions & Answers
Hello, I'm quite a noobie in programming in UNIX
and I was wondering if it is possible to use 'grep' or similar method
to find PATTERNS from designated location (of charactor)
for example
|param 1 ||param2 |
andrew kim josh
daniel kim michelle
michelle andrew kim
I hope... (6 Replies)
Discussion started by: akmix
6 Replies
6. Shell Programming and Scripting
Hello everybody,
I have a file like this : "window 1 truck 3 duck 2... fire 1... etc..." and I would like to print the following number of a word I am searching for. (For example here, if I search for the word "fire", I will print "1")
Thank you for your help ! (7 Replies)
Discussion started by: tibo
7 Replies
7. Shell Programming and Scripting
I Have to check in a file that all the lines are ending at same posiotin.
Ex : line 1 is ending at position 88
line 2 should at same position i.e 88
Thanks in advance (6 Replies)
Discussion started by: evvander
6 Replies
8. Shell Programming and Scripting
--------------------------------------------------------------------------------
Have to check in a file that the lines starting with 620 and 705
are ending at same posiotin.
82012345
62023232323
70523949558
62023255454
9999
In the above lines, i have to check the lines starting... (1 Reply)
Discussion started by: senthil_is
1 Replies
9. Shell Programming and Scripting
Hi,
I need to send "^[" command to the buffer.
I tried to use insert within VIM and press 'ctrl' key and then '^' and '[' key.
but it didn't work.
Does anyone know how to do it?
Thanks a lot!
Julie (2 Replies)
Discussion started by: cin2000
2 Replies
10. Shell Programming and Scripting
Hi,
Does anyone know how many ways to pick out last charactor of a string?
Thanks! (7 Replies)
Discussion started by: cin2000
7 Replies