2015-08-19 18:44 GMT+02:00 Greg Reagle <greg.rea...@umbc.edu>: > It is already documented. Look at the man page of "for" or http://fishshell.com/docs/current/commands.html#for. Look at the tutorial at http://fishshell.com/docs/current/tutorial.html which has this example: > > > for val in $PATH > echo "entry: $val" > end
I looked at that example before I posted my question. It is an example how to iterate over _existing_ collection, however it is not an example how to construct such a collection. It takes a thought and a little experiment to realise how to do it. That's why I sent this question it the first place. Think about that this way: You wouldn't had to answer it if it were there. And that, in turn, would save us both some time.
------------------------------------------------------------------------------
_______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users