All pastes #74713 Raw Edit

Kaerowi

public shellscript v1 · immutable
#74713 ·published 2006-06-29 10:58 UTC
rendered paste body
#!/bin/shPLIK1="1.txt"PLIK2="2.txt"for (( i=1; i<=`cat ${PLIK1} | wc -l`; i++ ))do        cat ${PLIK1} | sed -n -e ${i}p | sed -e "s,\(.*\)5=\(.*\),\1`cat ${PLIK2} | sed -n -e ${i}p | awk '{print $2}'` 5=\2," |tr " " "\t"done