[Toybox] Posix: failing by omission since 1988.

Felix Janda felix.janda at posteo.de
Thu Jun 20 10:27:46 PDT 2013


Rob Landley wrote:
> The split command creates output files. If an output file exists, does  
> it truncate it? Append to it? Fail? Posix doesn't say.

See XCU 1.1.1 System Interfaces - File Read, Write, and Creation.

> If you split an empty file, does it create one empty output file, or no  
> output files?

"The split utility shall read an input file and write one or more output files."

> What are the permissions of the new files?

See above.

Felix



More information about the Toybox mailing list