> I think this is the best way.  Just replace 
> 
>  diff -B -b -w file.list - << EOF
> EOF
> 
> with something like
> 
>  diff file.list - << EOF
> EOF | sed -e 's/^[\t ]*$//'

The 'EOF' no longer closes correctly (sh doesn't like anything but a
newline character after the EOF). I tried this:

perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list 
diff -b file.list - <<EOF 
        blah blah
EOF

which worked, after I removed the blank lines from the 
'blah blah' section.

Is the perl thingy acceptable? 

-Jason

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to