(TIL) Nix: Reverse a String

less than 1 minute read

Reverse a string with the rev command.

$ echo 'test' | rev
tset

It also works with files.

$ rev Procfile
br.amup/gifnoc C- amup cexe eldnub :bew

Via jwworth/til.

Tags: ,

Categories:

Updated:

Comments