From f3548eefc864a08cba06d963fd6266da26b3c205 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 22 Oct 2017 14:14:00 +0200 Subject: README: update --- README | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README b/README index cd2ab14..2114026 100644 --- a/README +++ b/README @@ -20,8 +20,8 @@ DESCRIPTION The qecho utility writes its arguments, surrounded by unicode quotation marks, to standard output. - The jecho utility writes its arguments joined together to standard - output. + The jecho utility writes its arguments joined together with no separators + to standard output. The secho utility writes its arguments, separated by spaces, to standard output, followed by a . If there are no arguments, only the @@ -41,6 +41,22 @@ STANDARDS secho is a POSIX-conforming, but not XSI-conforming implementation of echo(1). +CAVEATS + These tools use writev(2) syscalls for efficient output. This generally + works fine, but there is a problem with using this function when writing + to the Linux proc(5) filesystem: only the first buffer will be regarded + as a write. + + Therefore, + + jecho 60 >/proc/sys/kernel/panic + + will work, but + + jecho 6 0 >/proc/sys/kernel/panic + + will just be regarded as a write of ‘6’. + AUTHORS Leah Neukirchen -- cgit 1.4.1