I got access to only Busybox 1.31.1
I originally wanted to remove the current working directory of my output (the single dot).
Example:
/prueba$ ls
uno dos tres
When I:
$ busybox find .
.
./uno
./dos
./tres
That's easily done with either:
busybox find . -not -path .
busybox find . -mindepth 1
Now, what I tried before is:
busybox find . -exec sh -c ' readlink -f "$1" | tail -n +2 ' sh {} \;
Which prints nothing. If verbose output is activated:
==> standard input <==
==> standard input <==
==> standard input <==
==> standard input <==
==> standard input <==
Completely different output if the line address is one:
busybox find . -exec sh -c ' readlink -f "$1" | tail -n +1 ' sh {} \;
==> standard input <==
/tmp/prueba
==> standard input <==
/tmp/prueba/tres
==> standard input <==
/tmp/prueba/dos
==> standard input <==
/tmp/prueba/uno
What's going on?