bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sr #108708: fix for output of 'alias' command


From: Eduardo A . Bustamante López
Subject: sr #108708: fix for output of 'alias' command
Date: Wed, 25 Mar 2015 04:35:52 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

Original-Report: https://savannah.gnu.org/support/index.php?108708
Reporter: Pasha Bolokhov

Alias produces non-reusable output:

dualbus@yaqui:~$ alias -- -x='echo x'
dualbus@yaqui:~$ alias -p
alias -x='echo x'
alias ls='ls --color=auto'

'help alias' claims it's reusable:
 alias -p|grep reusable
 dualbus@yaqui:~$ help alias|grep reusable
     Without arguments, `alias' prints the list of aliases in the reusable
           -p        Print all defined aliases in a reusable format

The original report also contains the attached patch.

-- 
Eduardo Bustamante | https://dualbus.me/

Attachment: 0001-Fix-output-for-an-alias-starting-with-a-dash.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]