Hacker News new | past | comments | ask | show | jobs | submit login

*Works if properly implemented. Had to manually disable this behavior in eshell as it prevented you from running regex with two carets, e.g. '$ grep -E '^sometext[^ ]+moretext'.

You can also just run a sed style substitution in most shells, e.g. '$ !!:s/before/after/' or '$ !!:gs/x/y/', which is safer IMO.




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

Search: