[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Log message check
From: |
Jeeva Sarma |
Subject: |
Log message check |
Date: |
Mon, 13 May 2002 10:26:50 -0700 (PDT) |
Hi
I want to write a script which will check if the log
message is more than 80 characters and if so,to break
it into the next line.(more than 80 characters
sometimes gives compile errors in linux).
I could get the log message into a variable using
head <$1.
After the check,when I give fold command like
fold -80 `head <$1`,it doesn't break the log message
at 80 characters.Any ideas how I may achieve this?
Thanks,
Jeeva Sarma
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Log message check,
Jeeva Sarma <=