...
Code Block | ||||
---|---|---|---|---|
| ||||
for fname in *.gz; do echo "$fname has $((`zcat $fname | wc -l` / 4)) sequences" done |
quotes matter
We saw how double quotes allow the shell to evaluate certain metacharacters in the quoted text.
...
...
Code Block | ||||
---|---|---|---|---|
| ||||
for fname in *.gz; do echo "$fname has $((`zcat $fname | wc -l` / 4)) sequences" done |
We saw how double quotes allow the shell to evaluate certain metacharacters in the quoted text.
...