Search Results

Search: Posts Made By: Durimar
2,378
Posted By Durimar
counting similar lines
I modify script to cut a time stamp infront of the message:

#!/bin/ksh
cnt=0
while read line
do
# set the variable contents
((cnt+=1))
SHORTLN=`echo "$line" | sed 's/.*,[0-9]*//g'`...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy