Here's one to be different:
echo "1234567890123456" | perl -lne 'print"\*"x(length()-4),scalar reverse unpack "A4",reverse'
gratias vobis ago valeteque
-v.
In reply to Re: Golf: Replacing part of a string with "*"
by Velaki
in thread Golf: Replacing part of a string with "*"
by kwaping
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |