summaryrefslogtreecommitdiff
path: root/stdbuf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stdbuf.sh')
-rw-r--r--stdbuf.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/stdbuf.sh b/stdbuf.sh
new file mode 100644
index 0000000..a2f6a72
--- /dev/null
+++ b/stdbuf.sh
@@ -0,0 +1,7 @@
+# This cannot be portably replicated, as it depends on LD_PRELOAD tricks
+# interjecting modified versions of stdin, stdout, and stderr with their
+# buffering modes set manually.
+
+# parse options i:o:e:
+
+exec "$@"