Last active
January 18, 2017 16:26
-
-
Save slayerlab/9b4448cb2678dc8f0a283821b8a3f779 to your computer and use it in GitHub Desktop.
bash/sh: "parameter expansion" testing
This file contains hidden or 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
research@blockbit:~/Documents$ set -- jesus te ama | |
research@blockbit:~/Documents$ echo ${1:2:1}${1:1:1}${1:0:1}${3:0:1}${3:1:1}$' '${3:2:1}${2:0:1}${2:1:1}${1:3:1}${1:4:1} | |
sejam ateus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment