Search Results

Search: Posts Made By: zazzybob
4,439
Posted By zazzybob
There is no doubt a far quicker way of doing this...
There is no doubt a far quicker way of doing this (we're going through the file twice, so it'll take a while), but something like

#!/bin/ksh

matches=`grep -n "TIMESTAMP_HERE" logfile | cut -f1...
4,439
Posted By zazzybob
This is still going to be slow, but...
This is still going to be slow, but nethertheless, if you're using GNU grep (please state if you're not, try "grep --version", if this displays an error, you're not using GNU grep), do something like...
Showing results 1 to 2 of 2

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