Hi, I've installed fish shell (git version) and I have found that it's a great shell , it saves many keystrokes and comfortable to use, but a pain when writing scripts.I get the impression that want to differentiate themselves from other shells, and only for this, stuffs get complicated.
For example: make install; or echo "error"; and echo "ok" instead of make install || echo "error" && echo "ok" begin; echo 'error'; return 1; end instead of (echo 'error'; return 1) but in variables assignment is valid: set -l _version (readlink /usr/src/linux) set m 1 instead of m=1 $argv[1] instead of $1 set version (string split -m1 - (readlink /usr/src/linux)) instead of version=${$(readlink /usr/src/linux)#*-} etc... One of the highlights of fish shell is supposedly simplicity: "...its syntax is simple, clean..." (http://fishshell.com/). I think the above examples speak for themselves. It's annoying to me because I like too much this shell but its "Sane" Scripting no much. In any case, thanks for your work. Regards.
------------------------------------------------------------------------------
_______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users