]> Kevux Git Server - fll/commit
Update: Have iki_write use form-feed rather than end of line character for pipe input.
authorKevin Day <thekevinday@gmail.com>
Thu, 5 May 2022 03:26:39 +0000 (22:26 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 5 May 2022 03:29:44 +0000 (22:29 -0500)
commit4c1bd4f0ec5758b3dd459aa6b08cb78d26210341
tree1e6b5e20d98e6855eab858a18253dc32f2987626
parentcfdbd7af37e56f6f01d50069d8668b111a72fce8
Update: Have iki_write use form-feed rather than end of line character for pipe input.

The IKI specification allows for just about any character inside the content, including newlines.
Given that newlines are far more common than form-feed characters, switch to form-feed.
The form-feed character is chosen because there is a standard escape sequence that can easily be passed to commands like echo.
For example: echo -en "a\fb" | iki_write
level_3/iki_write/c/iki_write.c