Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    Hi Hauke, for my case it seems that the trick was more on putting an escape on the dollar ... "ls \$((200 + \$i )).gnu | wc -l" works as the variables are not evaluated in CLI but are then in the loop. The loop, as a matter of fact does not require any special astuce with quoting. Escaping is the key, IMHO. Anyways, thanks for your input! Commented Jan 15, 2015 at 21:41
  • @RobertoFranceschini I was wrong about the quoting requirements but you need eval for the pipeline to work. Commented Jan 15, 2015 at 22:06