diff options
author | John Ankarström <john@ankarstrom.se> | 2021-05-24 13:31:06 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-05-24 13:31:06 +0200 |
commit | 026d9f86c67790d96ded1de8faeaba213a9f5631 (patch) | |
tree | 0fc5cb6f48107988984599d10972c06ad094f982 /vpeval | |
download | vp-026d9f86c67790d96ded1de8faeaba213a9f5631.tar.gz |
First commit
Diffstat (limited to 'vpeval')
-rwxr-xr-x | vpeval | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -0,0 +1,4 @@ +#!/bin/sh +c=`cat | sed '/^#/d'` +echo "$c" +echo "$(eval "$c" 2>&1)" | sed 's/^/# /' |