Objective
Write a program that takes two strings and displays, without duplicates, the characters that appear in both strings, in the order they appear in the second string.
Steps
$ ./common_second_order sprint printrun | cat -e
print$
$ ./common_second_order aabbcc cbacba | cat -e
cba$
$ ./common_second_order | cat -e
wrong number of arguments$
Expected files
Allowed functions

Objective
Write a program that takes two strings and displays, without duplicates, the characters that appear in both strings, in the order they appear in the second string.
Steps
$ ./common_second_order sprint printrun | cat -e
print$
$ ./common_second_order aabbcc cbacba | cat -e
cba$
$ ./common_second_order | cat -e
wrong number of arguments$
Expected files
Allowed functions

Tests
Run the tests to grade your code