Actually you want s/^.//s You need the /s to make a . match *anything* - it does not by default. Also why capture to $1 only to replace it with an exact replica?
In reply to Re^2: Chop command that removes the first character
by tachyon
in thread Chop command that removes the first character
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |