Anonymous user
Truncate a file: Difference between revisions
m
→{{header|UNIX Shell}}
Line 679:
-bash-4.2$ ls -l bad; cat bad
+ ls -l bad
-rw-r--r-- 1
+ cat bad
-bash-4.2$
Line 732:
# bonus: use a seek and append and add truncate(1) syntax w/ units - short one-liner
</lang>
=={{header|ZX Spectrum Basic}}==
|