shithub: rc

Download patch

ref: 5e789f5e474f22957edaec53337a2b11e52b851e
parent: 9e972cba978f36a68419267c17cb19058aaeb7f0
author: qwx <qwx@sciops.net>
date: Thu Aug 24 10:48:31 EDT 2023

add paste: simplistic unix-like paste(1)

--- /dev/null
+++ b/bin/paste
@@ -1,0 +1,10 @@
+#!/bin/awk -f
+FNR == NR{
+	s = $0
+	printf "%s", $0
+	for(i=2; i<ARGC; i++){
+		getline <ARGV[i]
+		printf OFS "%s", $0
+	}
+	printf "\n"
+}