Brian A. Seklecki wrote:
# echo -n "status dir" | bconsole -s 2>&1|egrep "^Incremental|^Full"|awk '{print $1" "$4" "$5}' Incremental 13-Feb-06 22:00 Incremental 13-Feb-06 22:00
Thanks for that Brian -- much more elegant than the horrible awk hack that I had come up with.
cheers Chris ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users