help-bash
[Top][All Lists]
Advanced

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

[Help-bash] How to call a user-defined function named '%'?


From: Peng Yu
Subject: [Help-bash] How to call a user-defined function named '%'?
Date: Thu, 14 Feb 2019 18:37:33 -0600

I can define the function '%'. But I don't find a way to call it. Is
it possible?

$ function % { declare -p FUNCNAME; }
$ typeset -f '%'
% ()
{
    declare -p FUNCNAME
}
$ '%'
-bash: fg: %: no such job

-- 
Regards,
Peng



reply via email to

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