diff options
author | John Ankarström <john@ankarstrom.se> | 2021-05-24 13:38:41 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-05-24 13:38:41 +0200 |
commit | 4d759d9835082f8036d693421d786c1ac297f386 (patch) | |
tree | 0101ba39f5b3598078a2396f16fb81aed9476cfe | |
parent | 026d9f86c67790d96ded1de8faeaba213a9f5631 (diff) | |
download | vp-4d759d9835082f8036d693421d786c1ac297f386.tar.gz |
Remove useless use of cat
Although I kind of like the idiom, it IS less efficient.
-rwxr-xr-x | vpeval | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ #!/bin/sh -c=`cat | sed '/^#/d'` +c=`sed '/^#/d'` echo "$c" echo "$(eval "$c" 2>&1)" | sed 's/^/# /' |