Re: \! and \# in PS1 vs PS2 vs PS4, PS0 and ${var@P}

2017-03-14 Thread Chet Ramey
On 3/12/17 5:06 PM, Grisha Levit wrote: > These expansions both seem to get values that are inconsistent when > expanded in the various prompt strings. > > For example, starting with the following: > > PS0='PS0 \! \# _ \n' > PS1='PS1 \! \# $ ' > PS2='PS2 \! \# > ' > PS4='PS4 \! \# + ' > PSV='PSV

Re: Problem with list of aliases

2017-03-14 Thread Chet Ramey
On 3/14/17 12:56 PM, Pedro Gimeno wrote: > When using the 'alias' command without parameters, or with the '-p' > parameter, a list of aliases is displayed. This list has the form: > > alias name='value' > > 'help alias' states that this form is 'reusable', thus implying, if I > understand it

Problem with list of aliases

2017-03-14 Thread Pedro Gimeno
When using the 'alias' command without parameters, or with the '-p' parameter, a list of aliases is displayed. This list has the form: alias name='value' 'help alias' states that this form is 'reusable', thus implying, if I understand it correctly, that it can be fed back to bash. But that's

Segmentation fault (nullpointer dereference)

2017-03-14 Thread floyd
Configuration Information [Automatically generated, do not change]: Machine: arm OS: linux-gnueabihf Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='arm' -DCONF_OSTYPE='linux-gnueabihf' -DCONF_MACHTYPE='arm-unknown-linux-gnueabihf' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/shar