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

Does noting that you don't have to use / as the separator help with the syntactical pain? I personally always use |, since I'm unlikely to be using that for a pattern. Example:

grep foo somefile | sed 's|/path/to/some/file|/new/path|g'

Lot nicer than all those picket fences \/\/\/



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

Search: