Fish is great!! I switched over from bash recently and I am really loving fish. So well made, such a pleasure to use. I've been using bash for many years, and I probably haven't been using its full power. I like that fish works so well without having to enable features or customize.
I do find this statement odd though, "fish is a user friendly commandline shell intended mostly for interactive use". As far as I can tell (I've only written one shell script in fish so far), it is just as awesome for writing shell scripts as it is for interactive use. Am I missing something? Thanks to all the fish developers. I do not belong to the emai list, so please reply to my email address. Thanks. Here is a little shell script for you: #!/usr/bin/fish # Usage: countdown <minutes> OR countdown -s <seconds> switch $argv[1] # set $delay to the countdown time in seconds case -s # seconds set delay $argv[2] case '*' # minutes set delay (expr $argv[1] \* 60) end for i in (seq $delay -1 0) # count down the time set text (date -d"0+$i sec" +%H:%M:%S) /bin/echo -ne "\r$text" sleep 1 end /bin/echo -e "\rDONE! "; ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users