Search Results

Search: Posts Made By: mr.perffect
2,712
Posted By mr.perffect
why not just put run_report.sh -o out.csv...
why not just put

run_report.sh -o out.csv -m monthly -e somename@email.com

into another script and run that from the cron?
3,382
Posted By mr.perffect
Would something like this work for you? ...
Would something like this work for you?


#!/usr/bin/perl

chomp($part=`date +%m%d%Y`);
$fname="mysql$part-18:00.gz";

if (-e $fname)
{print "OK\n";}
else {print "No Backup\n";}

...
23,034
Posted By mr.perffect
expanding on this why not send stdout to file ......
expanding on this why not send stdout to file ...

tar -vft tarfile1 > file1
tar -vft tarfile2 > file2

then

diff file1 file2
67,285
Posted By mr.perffect
maybe i'm misreading your question but would...
maybe i'm misreading your question but would unexpand work for you?
8,646
Posted By mr.perffect
you might be happier with something like this ......
you might be happier with something like this ...

awk -v num=">8534734" '
BEGIN {
FS="\n"
RS=""
}
{
print $1 ", " $2 ", " $3
}
p{print}
' test

8534734 is your search term and replace...
Showing results 1 to 5 of 5

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