projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix(unitproc):appendArgTar: Use 'eval' for command strings
[BK-2020-03.git]
/
unitproc
/
bktemp-writeArg
diff --git
a/unitproc/bktemp-writeArg
b/unitproc/bktemp-writeArg
index 56936eadc08766d3298a9b825940338651b900bb..d3c1f027e76b68259a107b442e73b8c8e4d280eb 100644
(file)
--- a/
unitproc/bktemp-writeArg
+++ b/
unitproc/bktemp-writeArg
@@
-32,7
+32,7
@@
writeArg(){
# Write
echo "$1" | $CMD1 | $CMD2 | $CMD3 | $CMD4 > "$2";
# Write
echo "$1" | $CMD1 | $CMD2 | $CMD3 | $CMD4 > "$2";
-} #
Get duration (ex: PT10M4S )
+} #
Write Bash var to file
#==BEGIN sample code==
myFile="/tmp/$(date +%s)..original"
#==BEGIN sample code==
myFile="/tmp/$(date +%s)..original"