Comment

Comment by 101914

For shells that lack echo -e and printf (yes, there are such shells; at least, I use one):

  echoe(){ local a=${#1}; echo $1 |dd bs=1 count=$a;}
parent 101914 11 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton