📅  最后修改于: 2022-03-11 14:51:50.564000             🧑  作者: Mango
# Basic syntax:
cat file.txt | rev | cut -c 1-3 | rev > output.txt
# Here we reverse each line, grab characters 1-3 (the last two
# characters of the original string), and then reverse the string again