Is this correct behaviour for 'rev'?

ASSI Stromeko@nexgo.de
Mon Nov 4 17:47:54 GMT 2024


Backwoods BC via Cygwin writes:
> cat fileOfFullPathNames | rev | sed -r -e "s/\./$mySep/" | rev | sort
> -t "$mySep" --key=2.1 | tr "$mySep" '.'

$ <fileOfFullPathNames sed -E 's/[.]([^.]+)$/\x00\1/' | sort -t '\0' -k2 | tr '\0' .


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra


More information about the Cygwin mailing list