:: Re: [DNG] funny little program
トップ ページ
このメッセージを削除
このメッセージに返信
著者: hal
日付:  
To: dng
題目: Re: [DNG] funny little program
tilt! wrote on 04/23/2016 02:02 PM:
> Am 22.04.2016 um 21:52 schrieb Rainer Weikusat:
>> People who may not know it yet but who are (like me) prone to
>> inverting two letter command names every once in a while might want
>> to have a look at the sl package/ program.
>
> Unfortunately it is not possible to provide such helper programs for cat, cd, cp, dd, dh, gpg, gs, ln, nl, nop, pip, pon, pwd, ss, tac, test and tset. :-)
>


Could aliases be utilized for this?
alias sl="/bin/ls -lart"

I'm not certain how one could inject parameters into the alias however. I've never gotten something like
this to work:

alias sl="/bin/ls -lart $1 | grep $2"