In Bash, positional parameters are named $1, $2, ... but if they have more than one digit, Bash assumes that only the first digit is part of the variable, and the second digit is just a random unrelated character. Rage.
3 likes 3 replies
?
In Bash, positional parameters are named $1, $2, ... but if they have more than one digit, Bash assumes that only the first digit is part of the variable, and the second digit is just a random unrelated character. Rage.
3 likes 3 replies