[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inconsistent treatment of backslash-bang
From: |
Lawrence D'Oliveiro |
Subject: |
Re: inconsistent treatment of backslash-bang |
Date: |
Thu, 24 Jul 2008 00:46:33 +1200 |
User-agent: |
Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 |
Andreas Schwab wrote:
> Lawrence D'Oliveiro writes:
>
>> And even with the specialness of bang turned off, it still doesn't work
>> right:
>>
>> ldo@theon:~> set +H
>> ldo@theon:~> echo "hi there!"
>> hi there!
>> ldo@theon:~> echo "hi there\!"
>> hi there\!
>> ldo@theon:~> echo hi there!
>> hi there!
>> ldo@theon:~> echo hi there\!
>> hi there!
>
> In which way is that wrong?
Maybe not:
ldo@theon:~> set +H
ldo@theon:~> echo "y"
y
ldo@theon:~> echo "\y"
\y
ldo@theon:~> echo y
y
ldo@theon:~> echo \y
y
That still leaves the issue of the discrepancy between the way bash actually
behaves, and the way it's documented to behave.
- Re: inconsistent treatment of backslash-bang, (continued)
- Re: inconsistent treatment of backslash-bang, Lawrence D'Oliveiro, 2008/07/19
- Re: inconsistent treatment of backslash-bang, Lawrence D'Oliveiro, 2008/07/19
- Re: inconsistent treatment of backslash-bang, Lawrence D'Oliveiro, 2008/07/20
- Re: inconsistent treatment of backslash-bang, Lawrence D'Oliveiro, 2008/07/20
- Re: inconsistent treatment of backslash-bang, Lawrence D'Oliveiro, 2008/07/22
- Re: inconsistent treatment of backslash-bang, pk, 2008/07/22
- Re: inconsistent treatment of backslash-bang,
Lawrence D'Oliveiro <=
- Re: inconsistent treatment of backslash-bang, pk, 2008/07/23
- Re: inconsistent treatment of backslash-bang, Lawrence D'Oliveiro, 2008/07/23
- Re: inconsistent treatment of backslash-bang, Lawrence D'Oliveiro, 2008/07/27