sem example in man page is broken if there are spaces in the filenames

2020-08-13 Thread Abon B
Consider the following example in the `sem' man page: for i in *.log ; do echo $i sem -j+0 gzip $i ";" echo done done sem --wait If any of the log files have spaces in them, then gzip considers the space a separator and is called on each part of th

Re: sem example in man page is broken if there are spaces in the filenames

2020-08-13 Thread Abon B
I just read the QUOTING section (sorry for missing it). It looks like -q option solves the issue for my use case (single encoder command for media files) and the man page example could be fixed by changing $i to \"$i\". Perhaps that section and the -q option should also be mentioned in the `sem' m