Tutorial by Examples

Files written to with the w command are created/truncated before any commands are run. $ sed 'w created-file' < /dev/null && ls created-file && rm created-file created-file From the standard: Each wfile shall be created before processing begins. Implementations shall suppo...
The length of line-wrapping when using the l command is implementation defined. From the standard: Long lines shall be folded, with the point of folding indicated by writing a followed by a ; the length at which folding occurs is unspecified, but should be appropriate for the output device. ...

Page 1 of 1