On Sat, Nov 17, 2018 at 08:53:19AM +0100, john doe wrote: > Using Bash you could use functions or aliases: > > search_pkg() { aptitude search -F '%p %V' --disable-columns ${1}; }
You probably want "$@" there (with quotes) instead of $1.
On Sat, Nov 17, 2018 at 08:53:19AM +0100, john doe wrote: > Using Bash you could use functions or aliases: > > search_pkg() { aptitude search -F '%p %V' --disable-columns ${1}; }
You probably want "$@" there (with quotes) instead of $1.