[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A quick Q: how do I command something in large amount



On Fri, 16 Sep 2011 00:17:47 +0700, Ivan wrote in message 
<[🔎] 86ehzhsp1g.fsf@gray.siamics.net>:

> 	Whitespace is not a problem as long as one remembers to
> 	double-quote Shell $ubstitutions, like:
> 
>    for i in a b c ; do

..or, e.g.: for i in $(ls /path/to/files/*.txt ) ; do

>      txt2pdf -input "${i}.txt" -out "${i}.pdf"
>    done

..disclaimer: I've only used the alleged obsolete back-tick way. ;o)


Reply to: