[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)

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?

Jeeva Sarma

Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience

reply via email to

[Prev in Thread] Current Thread [Next in Thread]