Bash shell script (58)
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410
If you do not have rev, you can instead use tac -rs. at a cost of five characters.
Bending the rules Bending the rules, I can subtract thirteen characters (for a score of 45):
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev
If you really need a bash array, add six characters to the score (for a score of 64):
a=(`echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410`)
Bash shell script (58)
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410
If you do not have rev, you can instead use tac -rs. at a cost of five characters.
Bending the rules, I can subtract thirteen characters (for a score of 45):
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev
If you really need a bash array, add six characters to the score (for a score of 64):
a=(`echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410`)
Bash shell script (58)
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410
If you do not have rev, you can instead use tac -rs. at a cost of five characters.
Bending the rules, I can subtract thirteen characters (for a score of 45):
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev
If you really need a bash array, add six characters to the score (for a score of 64):
a=(`echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410`)
Bash shell script (58)
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410
If you do not have rev, you can instead use tac -rs. at a cost of five characters, or perl -ne'print reverse split ""' at a cost of twenty-nine characters.
Bending the rules, I can subtract thirteen characters (for a score of 45):
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev
If you really need a bash array, add six characters to the score (for a score of 64):
a=(`echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410`)
Bash shell script (58)
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410
If you do not have rev, you can instead use tac -rs. at a cost of five characters, or perl -ne'print reverse split ""' at a cost of twenty-nine characters.
Bending the rules, I can subtract thirteen characters (for a score of 45):
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev
If you really need a bash array, add six characters to the score (for a score of 64):
a=(`echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410`)
Bash shell script (58)
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410
If you do not have rev, you can instead use tac -rs. at a cost of five characters.
Bending the rules, I can subtract thirteen characters (for a score of 45):
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev
If you really need a bash array, add six characters to the score (for a score of 64):
a=(`echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410`)
- 5.6k
- 2
- 24
- 44
Bash shell script (58)
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410
If you do not have rev, you can instead use tac -rs. at a cost of five characters, or perl -ne'print reverse split ""' at a cost of twenty-nine characters.
Bending the rules , I can subtract thirteen characters (for a score of 45):
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev
If you really need a bash array, add six characters to the score (for a score of 64):
a=(`echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410`)
Bash shell script (58)
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410
If you do not have rev, you can instead use tac -rs. at a cost of five characters, or perl -ne'print reverse split ""' at a cost of twenty-nine characters.
If you really need a bash array, add six characters to the score:
a=(`echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410`)
Bash shell script (58)
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410
If you do not have rev, you can instead use tac -rs. at a cost of five characters, or perl -ne'print reverse split ""' at a cost of twenty-nine characters.
Bending the rules , I can subtract thirteen characters (for a score of 45):
echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev
If you really need a bash array, add six characters to the score (for a score of 64):
a=(`echo {8..0}{B,♭B,A,♭A,G,♭G,F,E,♭E,D,♭D,C}|rev|cut -b40-410`)