|
|
|
|
|
by kyran_adept
2128 days ago
|
|
I know I wanted to do this, but I am very happy such a utility doesn't exist. Unix utilities, usually work in a pipeline fashion, read line -> process -> write to output. This allows them to allocate a limited amount of memory. If you read all input in memory, you are asking for trouble: 'cat /dev/zero | sponge a'. |
|
By the way, I think you’d be in even more trouble if you wrote: