🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #1053

Re: alias question

#1053
From: Axel Fischer
Date: Mon, 18 Dec 1989 12:20
17 lines
1317 bytes
chet@cwns1.CWRU.EDU (Chet Ramey) writes:

>You're right.  It's not like csh, it's like ksh.  ksh and bash aliases do
>not take arguments; they are simple textual replacements.  What you're doing
>up there is moving all of the command line args you gave bash along with
>/usr/spool/limbo to foo.
>This is what functions are for (modulo bugs, of course :-)

Thanks ! I've hoped there is a way with alias.
With functions it is no problem, but if you don't have 1.04 :-)

-Axel
-- 
fischer@utower.gopas.sub.org / fischer@db0tui6.BITNET / fischer@tmpmbx.UUCP
Bang-Europe : ...!{doitcr,gopnbg,tmpmbx}!utower!fischer
Bang-USA    : ...!uunet!unido!gopnbg!utower!fischer
                                                         Too low for zero ...
Technical Details
Message-ID: <74NQU-@utower.gopas.sub.org>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!mcsun!unido!tub!tmpmbx!utower!fischer
References: <XXL&N*@utower.gopas.sub.org> <1989Dec18.001815.11079@usenet.ins.cwru.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!mcsun!unido!tub!tmpmbx!utower!fischer
From: fischer@utower.gopas.sub.org (Axel Fischer)
Newsgroups: gnu.bash.bug
Subject: Re: alias question
Message-ID: <74NQU-@utower.gopas.sub.org>
Date: 18 Dec 89 12:20:18 GMT
References: <XXL&N*@utower.gopas.sub.org> <1989Dec18.001815.11079@usenet.ins.cwru.edu>
Reply-To: fischer@utower.gopas.sub.org
Distribution: gnu
Organization: Me, Myself and I (Berlin, West Germany)
Lines: 17