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

General point about comfort noted, but they don't do the same thing.

$^path(N) is an equivalent to your perl expression. The snippet throwaway84846 posted also removes duplicates and collapses symlinks from /usr-merge for example.




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

Search: