Linda Walsh wrote:
> Haven't used ksh for some timeI thought the '!' stuff came
> from csh? It seemed so pointless, since having to look up
> things by command number I thought, was way too much work... searching
> via a string in the line seemed so much faster...
You are not thinking about t
Chet Ramey wrote:
On 10/12/15 7:02 PM, Linda Walsh wrote:
It happens in posix mode.
---
How lame! It's a '!' in a quoted string. Another example
of posix braindeath -- how long before people realize that the
thing branded 'posix' now isn't the real posix that was started
to *describe*
On 10/12/15 7:02 PM, Linda Walsh wrote:
>> It happens in posix mode.
> ---
> How lame! It's a '!' in a quoted string. Another example
> of posix braindeath -- how long before people realize that the
> thing branded 'posix' now isn't the real posix that was started
> to *describe* behaviors,
Chet Ramey wrote:
On 10/12/15 12:28 PM, Linda Walsh wrote:
Chet Ramey wrote:
On 10/11/15 1:37 AM, isabella parakiss wrote:
In posix mode, bash replaces ! in my PS1 with the history number.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03
"The shell sh
On 10/12/15 12:28 PM, Linda Walsh wrote:
>
>
> Chet Ramey wrote:
>> On 10/11/15 1:37 AM, isabella parakiss wrote:
>>> In posix mode, bash replaces ! in my PS1 with the history number.
>>
>> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03
>>
>>
>> "The shell s
On 10/12/15, Greg Wooledge wrote:
> On Mon, Oct 12, 2015 at 09:28:42AM -0700, Linda Walsh wrote:
>> Chet Ramey wrote:
>> >http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03
>> >
>> >"The shell shall replace each instance of the character '!' in PS1 with
>> >the h
On Mon, Oct 12, 2015 at 09:28:42AM -0700, Linda Walsh wrote:
> Chet Ramey wrote:
> >http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03
> >
> >"The shell shall replace each instance of the character '!' in PS1 with
> >the history file number of the next command to
Chet Ramey wrote:
On 10/11/15 1:37 AM, isabella parakiss wrote:
In posix mode, bash replaces ! in my PS1 with the history number.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03
"The shell shall replace each instance of the character '!' in PS1 with
the
On 10/11/15 2:22 AM, isabella parakiss wrote:
> On 10/11/15, isabella parakiss wrote:
>> In posix mode, bash replaces ! in my PS1 with the history number.
>>
>> $ PS1=' ! '
>> ! set -o posix
>> 513 exit
>>
>> It doesn't happen with any other prompt escape sequence, afaict.
>> This looks... inten
On 10/11/15 1:37 AM, isabella parakiss wrote:
> In posix mode, bash replaces ! in my PS1 with the history number.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03
"The shell shall replace each instance of the character '!' in PS1 with
the history file number o
On 10/11/15, isabella parakiss wrote:
> In posix mode, bash replaces ! in my PS1 with the history number.
>
> $ PS1=' ! '
> ! set -o posix
> 513 exit
>
> It doesn't happen with any other prompt escape sequence, afaict.
> This looks... intentional? WTF?
>
Ok I've now read this page: http://tisw
In posix mode, bash replaces ! in my PS1 with the history number.
$ PS1=' ! '
! set -o posix
513 exit
It doesn't happen with any other prompt escape sequence, afaict.
This looks... intentional? WTF?
---
xoxo iza
12 matches
Mail list logo