Truncate a file: Difference between revisions

Content added Content deleted
m ({{omit from|AWK}})
m (promoted to task)
Line 1: Line 1:
{{draft task}} [[Category:File System Operations]]
{{task}} [[Category:File System Operations]]


Truncate a file to a specific length. This should be implemented as a routine that takes two parameters: the filename and the required file length (in bytes).
Truncate a file to a specific length. This should be implemented as a routine that takes two parameters: the filename and the required file length (in bytes).