[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bsd diff bug
From: |
Jason Stover |
Subject: |
Re: bsd diff bug |
Date: |
Fri, 7 Oct 2005 20:38:55 +0000 |
User-agent: |
Mutt/1.4.2.1i |
On Fri, Oct 07, 2005 at 12:29:54PM -0700, Ben Pfaff wrote:
> I think that this can be expressed this way instead:
> diff file.list - <<EOF | sed -e 's/^[\t ]*$//'
> ...
> EOF
No luck. This one is ignored. But this worked:
perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
diff -b $TEMPDIR/pspp.list - <<EOF |perl -e 's/^\s*$//g'
...
EOF
-Jason
--
address@hidden
SDF Public Access UNIX System - http://sdf.lonestar.org