Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cperciva
on Feb 16, 2008
|
parent
|
context
|
favorite
| on:
Obama: A Bubble Sort is the Wrong Way to Go
Where's the C library function for "sort the N-byte records in the file named 'foo' which is too large to fit into RAM"?
bayareaguy
on Feb 16, 2008
|
next
[–]
Perhaps not in libc but on my freebsd box /usr/src/gnu/usr.bin/sort/sort.c delivers the goods if foo has newlines.
foonamefoo
on Feb 17, 2008
|
prev
[–]
system('sort filename');
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: