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$$
but i keep getting this output
Code:
diff: missing operand after `--new-line-format='
diff: Try `diff --help' for more information.
Can someone tell me what I am doing wrong?
Thank you.