The latest version of Automator (in OS X 10.5 Leopard) has several handy new features. Among the most useful: variables and looping. Unfortunately, unless you’re an experienced scripter, they’re also ...
[user@host ~]$ echo $(echo test) test [user@host ~]$ myhomedirsize=$(du -hs ~) [user@host ~]$ echo $myhomedirsize 33K /home/user I think the main reason is that it is ...
I'm about to ask a possibly stupid question, but I'm curious about naming the counter variable in a loop. In the example below, even a variable named "i" does the trick, but more complex situations ...