Article View: gnu.bash.bug
Article #776Return value from builtin hash
From: Andrew Thomas
Date: Sat, 25 Nov 1989 01:34
Date: Sat, 25 Nov 1989 01:34
12 lines
764 bytes
764 bytes
In bash 1.04, the hash command does not return a value indicating success or failure. I would like to put the following in my .aliases: if hash less ; then alias more=less ; fi but hash always returns success. -- Andrew Thomas andrewt@watsnew.waterloo.edu Systems Design Eng. University of Waterloo "If a million people do a stupid thing, it's still a stupid thing." - Opus
Technical Details
Message-ID:
<ANDREWT.89Nov24203433@watsnew.waterloo.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watserv1!watcgl!andrewtShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watserv1!watcgl!andrewt From: andrewt@watsnew.waterloo.edu (Andrew Thomas) Newsgroups: gnu.bash.bug Subject: Return value from builtin hash Message-ID: <ANDREWT.89Nov24203433@watsnew.waterloo.edu> Date: 25 Nov 89 01:34:33 GMT Sender: daemon@watcgl.waterloo.edu Organization: University of Waterloo, Waterloo, Ontario, Canada Lines: 12