What is wrong with this diff command?
I am having trouble using the diff command correctly. I am using the following.
Code:
jb_get@jonesey:~/logs> diff --unchanged-line-format= --new-line-format= `find $myPath -type f -name "ip_summary-*" |sort -r |head -2` > /tmp/zGzb$$ Code:
diff: missing operand after `--new-line-format=' Thank you. |
Moin,
are you sure, that your find/sort/head pipe returns 2 pathnames? I get the error message if no files are found. Jan |
I found where my problem was. When i searched for my files that were being created I was searching for "ip_summary-*" when in fact it should have been "ip_summary_*"...silly me
Thanks for the help |
All times are GMT -5. The time now is 09:13 PM. |