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

I'm using a zsh function with similar functionality for exactly the same purpose:

    qrdisplay () {
	qrencode -o - "$1" | display
    }


"$*" is probably more likely what you want, and throwing in an extra "--" prevents it from choking on arguments that start with a dash.


you're right, but since I only ever used it for urls I never had noticed these problems




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

Search: