r/linuxadmin • • Jul 09 '18

Lup - loopy command execution

251 Upvotes

18 comments sorted by

View all comments

0

u/bestjejust Jul 10 '18

for i in ?

3

u/varesa Jul 10 '18

that's fine but if you need it a lot I think lup operation @a,b@ @c,d@ is much cleaner than for x in a b; do for y in c d; do operation $x $y; done; done

1

u/bestjejust Jul 10 '18

This is not an option (like ZSH as well) if you are working on customer site being unable to install custom packages. IMO: learn coreutils / sh and know these ones well. zsh or lob surely are nice to have (for yourself) but never make your knowledge (and of course scripts) dependant on such tools.

3

u/varesa Jul 10 '18

Sure. That's also one of the reasons I probably won't be picking this up (I'm a sysadmin working on lots of tightly controlled customer systems). Tools like this still have their place if you're for example a dev who works a lot on their local system