Last active
May 1, 2021 16:50
-
-
Save MinSomai/d3101a252826117f0329191a07fa00e7 to your computer and use it in GitHub Desktop.
Bash read N lines and print 3rd Character of that line.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while read -r input; do | |
printf '%s\n' "$input" | cut -c3 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment