Objective
Write a program that prints every permutation of one string argument.
Steps
$ ./lex_permutations cab | cat -e
abc$ acb$ bac$ bca$ cab$ cba$
$ ./lex_permutations m | cat -e
m$
Expected files
Allowed functions

Objective
Write a program that prints every permutation of one string argument.
Steps
$ ./lex_permutations cab | cat -e
abc$ acb$ bac$ bca$ cab$ cba$
$ ./lex_permutations m | cat -e
m$
Expected files
Allowed functions

Tests
Run the tests to grade your code