On 4/20/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
[...]
> > fish> echo hello | $VIEWER
>
> Oh, right. Never tried those alternatives. Here is how to do this
> properly in fish:
>
> if test "$OPSYSTEM" = "TANDEM";
>        function viewer; more; end
> else
>        function viewer; less; end
> end
>
> ...
>
>         case 4
>                cat /etc/hosts | viewer
>         case 5
>                ifconfig | viewer
>         end

Why did you decide to disallow the naive syntax "command1 | $commandstr"?


-------------------------------------------------------
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