I created one file in Vim, typed 'atcgATCG' there, saved it, run the one-liner and got:perl -mcharnames -e '<> =~ m/([^atcg])/i; print charnames::viacode(ord + $1), "\n"' ATCG_FILE
Many editors add newline to the end of a file when they save it.LINE FEED
In reply to Re^2: =~ matches non-existent symbols
by Anonymous Monk
in thread =~ matches non-existent symbols
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |