| Author |
how to do aliasing in sh shell
|
|
| googler 2004-08-24, 4:41 pm |
| how to do aliasing in sh shell
| |
| Rich Teer 2004-08-24, 4:42 pm |
| On Tue, 24 Aug 2004, googler wrote:
> how to do aliasing in sh shell
The Bourne shell doesn't support aliasing, so you can't do it.
What you CAN do is use a Boune-like shell, which suppports
aliases, including ksh and bash.
HTH,
--
Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming",
published in August 2004.
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
| |
| joe@invalid.address 2004-08-24, 4:42 pm |
| "googler" <arun_ccjl@yahoo.co.in> writes:
> how to do aliasing in sh shell
Write a function instead of an alias.
Joe
--
If there is no solution, change the problem.
- William Park
| |
| Torgny Lyon 2004-08-24, 4:42 pm |
| joe@invalid.address wrote:
> Write a function instead of an alias.
Thats another thing the Bourne shell is missing.
--
Torgny Lyon <torgny@enterprise.hb.se>
PGP Public Key: http://enterprise.hb.se/~torgny/pgpkey.asc
| |
| red floyd 2004-08-24, 4:42 pm |
| Torgny Lyon wrote:
> joe@invalid.address wrote:
>
>
>
> Thats another thing the Bourne shell is missing.
>
The classic Bourne shell didn't have them, but the SysV Bourne shell did.
| |
| joe@invalid.address 2004-08-24, 4:42 pm |
| Torgny Lyon <torgny@enterprise.hb.se> writes:
> joe@invalid.address wrote:
>
> Thats another thing the Bourne shell is missing.
Really? What Bourne shell do you use that doesn't have functions?
Joe
--
If there is no solution, change the problem.
- William Park
| |
| Torgny Lyon 2004-08-24, 11:05 pm |
| joe@invalid.address wrote:
> Really? What Bourne shell do you use that doesn't have functions?
Sorry, my mistake. Its the function keyword that is missing, not the
ability to define functions. I stand corrected.
--
Torgny Lyon <torgny@enterprise.hb.se>
PGP Public Key: http://enterprise.hb.se/~torgny/pgpkey.asc
|
|
|
|