help-bash
[Top][All Lists]
Advanced

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

history substitution with "dashed" commands : !my-commadn


From: Sukolyn Ljubljana
Subject: history substitution with "dashed" commands : !my-commadn
Date: Thu, 28 Nov 2019 13:38:53 +0000 (UTC)

hi,
i'm trying to do history substitution with command which name contains a dash,
$ my-func() { echo $FUNCNAME;}$ my-funcmy-func$ !my-f-bash: f: command not 
found$ !my-f:s/ion/blah/f:s/ion/blah/-bash: f:s/ion/blah/: No such file or 
directory
is there anything to do to succeed history substitutions with such commands ?

reply via email to

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