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

```bash lstrip() { # Usage: lstrip "string" "pattern" printf '%s\n' "${1##$2}" } ```

Got me right at the start. I look this up about once a week. Time to put it .bashrc already.



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

Search: