rashley has asked for the wisdom of the Perl Monks concerning the following question:
The problem is... you guessed it... it chokes when it gets to N because the \n gets interpreted as a newline.NEXTBUILDLETTER=$(perl -e "\$x=ord($BUILDLETTER); \$x++; printf(\"%c\n +\", \$x);")
I've played with it forever now, and I can't seem to find a way around this. Thoughts?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Increment Letter on a Command Line
by Fletch (Bishop) on Feb 06, 2008 at 21:09 UTC | |
by rashley (Scribe) on Feb 07, 2008 at 14:55 UTC | |
Re: Increment Letter on a Command Line
by moritz (Cardinal) on Feb 06, 2008 at 21:10 UTC | |
by graff (Chancellor) on Feb 07, 2008 at 04:49 UTC |