[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bsd diff bug
From: |
Ben Pfaff |
Subject: |
Re: bsd diff bug |
Date: |
Fri, 07 Oct 2005 12:29:54 -0700 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Jason Stover <address@hidden> writes:
>> 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 think that this can be expressed this way instead:
diff file.list - <<EOF | sed -e 's/^[\t ]*$//'
...
EOF
--
"In the PARTIES partition there is a small section called the BEER.
Prior to turning control over to the PARTIES partition,
the BIOS must measure the BEER area into PCR[5]."
--TCPA PC Specific Implementation Specification