"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "c/reg_test/run" between
mlr-5.9.0.tar.gz and mlr-5.9.1.tar.gz

About: Miller is like sed, awk, cut, join, and sort for name-indexed data such as CSV and tabular JSON.

run  (mlr-5.9.0):run  (mlr-5.9.1)
skipping to change at line 1307 skipping to change at line 1307
echo 'x=HELLO' | run_mlr put '$y = tolower($x)' echo 'x=HELLO' | run_mlr put '$y = tolower($x)'
echo 'x=' | run_mlr put '$y = tolower($x)' echo 'x=' | run_mlr put '$y = tolower($x)'
echo 'x=hello' | run_mlr put '$y = tolower($z)' echo 'x=hello' | run_mlr put '$y = tolower($z)'
echo 'x=hello' | run_mlr put '$y = capitalize($x)' echo 'x=hello' | run_mlr put '$y = capitalize($x)'
echo 'x=HELLO' | run_mlr put '$y = capitalize($x)' echo 'x=HELLO' | run_mlr put '$y = capitalize($x)'
echo 'x=' | run_mlr put '$y = capitalize($x)' echo 'x=' | run_mlr put '$y = capitalize($x)'
echo 'x=hello' | run_mlr put '$y = capitalize($z)' echo 'x=hello' | run_mlr put '$y = capitalize($z)'
mention LHS value on first record should result in ZYX for process creation mention LHS value on first record should result in ZYX for process creation
export indir; run_mlr --from $indir/abixy put 'ENV["ZYX"]="CBA".NR; print | ENV[ "indir"]."/env-assign.sh" , "a is " . $a' export indir; run_mlr --from $indir/abixy put -q 'ENV["ZYX"]="CBA".NR; print | E NV["indir"]."/env-assign.sh" , "a is " . $a'
# ---------------------------------------------------------------- # ----------------------------------------------------------------
announce POSITIONAL INDEXING announce POSITIONAL INDEXING
run_mlr --opprint put '$NEW = $[[3]]' $indir/abixy run_mlr --opprint put '$NEW = $[[3]]' $indir/abixy
run_mlr --opprint put '$NEW = $[[[3]]]' $indir/abixy run_mlr --opprint put '$NEW = $[[[3]]]' $indir/abixy
run_mlr --opprint put '$NEW = $[[11]]' $indir/abixy run_mlr --opprint put '$NEW = $[[11]]' $indir/abixy
run_mlr --opprint put '$NEW = $[[[11]]]' $indir/abixy run_mlr --opprint put '$NEW = $[[[11]]]' $indir/abixy
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)