On 4/19/06, ray hammond <[EMAIL PROTECTED]> wrote:
[...]
>         switch $menu
[....]
>         case 4
>                 cat /etc/hosts | $VIEWER
>         case 5
>                 ifconfig | $VIEWER
>         end

This will not work either because Fish does not expand "$VIEWER":

fish> echo $VIEWER
more

fish> echo hello | more
hello

fish> echo hello | $VIEWER
fish: Unknown command $VIEWER
echo hello | $VIEWER
             ^

(The arrow above is under the "$".)


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to