On 10/12/2017 10:16 PM, Kristian Benoit wrote:
> It took me time trying to remove './' at the beginning of each line of
> output. The problem is that I tried with '-exec'. I got it working
> this way:
>
> find . -maxdepth 1 -type d | sed -e 's/^\.\///'
You already showed the standard way to strip
It took me time trying to remove './' at the beginning of each line of
output. The problem is that I tried with '-exec'. I got it working
this way:
find . -maxdepth 1 -type d | sed -e 's/^\.\///'
I don't know why I didn't thought of using a pipe, but it could be
nice to have the output piped to t