On 2019/07/09 06:40, Chet Ramey wrote:
>
>> With these aliases:
>> alias my='declare ' Export='-x ' Map='-A ' Int='-i '
>>
>> my Export Map Int ffffe=([one]=1)
>> -bash: declare: `-x': not a valid identifier
>> -bash: declare: `-A': not a valid identifier
>> -bash: declare: `-i': not a valid identifier
>>
> I can't reproduce this.
>
My problem: '-x' was already an alias for 'chmod -- -x ', so changing
Export's
alias to '\-x ', "solves" this syntax problem. I've never needed -r or -w,
but have desired, at times, the positive forms of all 3 (+r +w +x)
Yeah, I really do have typing injuries, so abbreviations for oft used
identical actions are useful. Thanks for verifying...