Go fish! (developerWorks)
Go fish! (developerWorks)
Posted Dec 3, 2008 23:48 UTC (Wed) by nix (subscriber, #2304)In reply to: Go fish! (developerWorks) by tzafrir
Parent article: Go fish! (developerWorks)
numbers of new features, but it already has so *many* that if it adds many
more the manual will collapse into a black hole.
(Recentish features include UTF-8 support, which now seems to have enough
of the bugs worked out of it to be useful, and exception handling, which
in any shell but zsh would have me spluttering in amazement. This being
zsh, though, it's not surprising: I fully expect I've just overlooked the
strong AI that can write your code for you, if you can figure out the
incredibly baroque syntax for telling it what to do.)
Posted Dec 4, 2008 16:49 UTC (Thu)
by sitaram (guest, #5959)
[Link] (3 responses)
What would you say to a job-queuing program whose main "loop" is essentially the single statement "wait", and which did everything else by trapping SIGCHLD? Take a look at http://sitaramc.googlepages.com/queue.sh (but note: I wrote it for a lark and it seemed to work fine in testing but I never actually used it "in production")
Posted Dec 5, 2008 0:41 UTC (Fri)
by nix (subscriber, #2304)
[Link]
The code's not even contorted to fit: the 'one line at the end where
Posted Dec 5, 2008 3:11 UTC (Fri)
by sitaram (guest, #5959)
[Link]
I'm a perl guy normally, but I wrote this to show (show off?) a bunch of perl/python/java type kids what plain bash could do...
Posted Dec 5, 2008 9:42 UTC (Fri)
by njs (subscriber, #40338)
[Link]
Go fish! (developerWorks)
Go fish! (developerWorks)
in deeply ugly ways that could have been done like that.
control sits forever' just falls out of it.
Go fish! (developerWorks)
Go fish! (developerWorks)
