relpipe-data/examples/runnable-jars.sh
branchv_0
changeset 329 5bc2bb8b7946
parent 294 abbc9bcfbcc4
equal deleted inserted replaced
328:cc60c8dd7924 329:5bc2bb8b7946
    14 filterRunable() {
    14 filterRunable() {
    15 	relpipe-tr-awk --relation '.*' --where 'main_class';
    15 	relpipe-tr-awk --relation '.*' --where 'main_class';
    16 }
    16 }
    17 
    17 
    18 shortenPath() {
    18 shortenPath() {
    19 	relpipe-tr-sed '.*' 'path' "^$HOME/?" "~/";
    19 	relpipe-tr-sed --relation '.*' --attribute 'path' --value "^$HOME/?" --replacement "~/";
    20 }
    20 }
    21 
    21 
    22 findFiles | fetchAttributes | filterRunable | shortenPath | relpipe-out-tabular
    22 findFiles | fetchAttributes | filterRunable | shortenPath | relpipe-out-tabular