> This dumps core and kills the shell, however, if you filter the diff
> through an equivalent sed command it doesn't. Hmmmm.....
I can't reproduce it with my current development version.
>
> compgen -W "$( diff <( compgen -A variable ) <( compgen -A export )\
> | awk '{ print $2 }' )"
Since the lists are sorted, wouldn't `cmp' be an easier way to do this
instead of diff/awk?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/