>> But for fish it is not the case, because 'if' is the command as well. >> It took some time for me to understand that I can do this in fish in the >> following way: >> cmd1 args1; and cmd2 args2 >> if and cmd3 args3 >> #some code >> end >> > > Cool. I hadn't though of doing it that way. What I usually do, which is > significantly wordier, but (to me) a bit more readable is: > > if begin; cmd1args1; and cmd2 args2; and cmd3 arg3; end > #some code > end Cool (: I've missed it. You've designed fish in a very self-consistent way.
Maxim ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users