On Wed, Sep 28, 2005, Thomas Lotterer wrote: > correct diff(1) usage: -u uses a hardcoded context of 3 while only -U > takes an argument
I don't think the -U is portable enough: | [EMAIL PROTECTED]:/u/rse | $ /usr/bin/diff -U3 x y | /usr/bin/diff: illegal option -- U | usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2 | diff [-bitw] [-C number] file1 file2 | diff [-bitw] [-D string] file1 file2 | diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2 The option -u on the other hand exists everywhere AFAIK. Where did -u3 break? Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org