On 08/19/2013 10:14 PM, Bob Proulx wrote: > Bernhard Voelker wrote: >> $ printf "%s\0" *.pdf | sort -zV | xargs -0 cat > > It may be the same thing but as a matter of taste I prefer 'find'. > > find . -maxdepth 1 -name '*.pdf' -print0 | sort -zV | xargs -0 cat
+1 as find(1) offers even more options to restrict the output to the desired files, e.g. using "-type f" etc. ... depends on the exact use case. Have a nice day, Berny
