Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 2 more questions



>Actually, my task was the following:
>
>    cat $FILE | mv $FIELD1_IN_LINEX_OF_FILE $FIELD2_IN_LINEX_OF_FILE

Ah, I see. I would do it like this:

cat $FILE | awk '{print $1,$2}' | xargs -n 2 mv

/tg




Messages sorted by: Reverse Date, Date, Thread, Author