Three (two) less for cmd.
perl -nE"$s^=$_}{say length$s" # Switch quotes for bash perl -nE "\$Z[y///c]}{say$#Z" # Switch quotes for bash perl -nE"\$Z[y///c]}{say$#Z" # Switch quotes for bash perl -nE\$Z[y///c]}{say$#Z # cmd specific 1234567890123456789012345
In reply to Re^3: Golf: Length of longest line in a file
by ikegami
in thread Golf: Length of longest line in a file
by toolic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |