From 4d759d9835082f8036d693421d786c1ac297f386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 24 May 2021 13:38:41 +0200 Subject: Remove useless use of cat Although I kind of like the idiom, it IS less efficient. --- vpeval | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vpeval') diff --git a/vpeval b/vpeval index bd0db27..d2226d4 100755 --- a/vpeval +++ b/vpeval @@ -1,4 +1,4 @@ #!/bin/sh -c=`cat | sed '/^#/d'` +c=`sed '/^#/d'` echo "$c" echo "$(eval "$c" 2>&1)" | sed 's/^/# /' -- cgit v1.2.3