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

On most systems these days, 'less' is more:

  % cksum `which less` `which more`
  2677110273 146976 /usr/bin/less
  2677110273 146976 /usr/bin/more


I think that more is symlinked to less on your system, not the other way around. On my machine (Arch), they're separate:

  jack@jackdesktop ~ [1]> bash -c "cksum `which less` `which more`"
  3407085100 179664 /usr/bin/less
  110370394 38816 /usr/bin/more
  jack@jackdesktop ~>


OK, now you've prompted me to do proper research:

Not a symlink (or even a hard link) on my OS X laptop, but the same executable.

On my OpenBSD systems, they're hard links.

On my Ubuntu system, they're separate.


Interesting! I wonder what the historical reason is for all of those different permutations.




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

Search: