Search Results

Search: Posts Made By: klysdale
2,302
Posted By klysdale
Thank you! I tried the THEN statement but I...
Thank you! I tried the THEN statement but I guess it can't be on the same line as the IF statement. Next I will figure out how to include the results and have it pick up off where it left off on an...
2,302
Posted By klysdale
Unix Script to email grepped results
I am following the tread number 81556 to grep a file and send the results in email.

#/bin/bash
/bin/grep -i 'invite sip' /var/log/asterisk/full
if [ $? -eq 0 ] echo "found" |
mail -s 'invite...
2,730
Posted By klysdale
awk '/Line6/' RS= infile Thank you very...
awk '/Line6/' RS= infile

Thank you very much. That command worked perfectly!
2,730
Posted By klysdale
grep/awk and bring multiple lines forward
Hello all, I have a question regarding grep and pulling the result forward to the next carriage return or line space. Sorry if I have terminology incorrect. I have the following data set.

Line1...
Showing results 1 to 4 of 4

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