Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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;}


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: