Hello, On Sun, Jul 08, 2018 at 07:39:07AM +0200, john doe wrote: > The issue here is that we don't know what the OP wants
A situation sadly familiar when dealing with this particular poster's threads. Also in the general case, if you ever find yourself parsing the output of "ls", you will probably find that there is a better way to be doing what you're trying to do. There are a lot of issues with parsing "ls" output: <http://mywiki.wooledge.org/ParsingLs> <https://unix.stackexchange.com/questions/128985/why-not-parse-ls> Cheers, Andy