> You could reformat the output with sed(1), like so: > rem -q -s | sed -e 's/^[0-9]\+\/\([0-9]\+\)\/\([0-9]\+\)/\2\/\1/g' > > Paul This command work fine: sed -e 's/^[0-9][0-9]*\/\([0-9][0-9]*\)\/\([0-9][0-9]*\)/\2\/\1/' -- --------- @@ ---------