1

Write over data to new file

view story
linux-howto

http://www.unix.com – hi..i would ask about how to write over data to new file with BASH. so..assume my data looks like this : 11 12 13 14 15 ...and so on. It's always line by line. and that's for the first file. i want to write over those numbers into second file but by using space. so my second file should be look like this : 11 12 13 14 15...and so on i tried with : Code: echo $dataFromFirstFile > $2 which $2 is second argument for my second file. but, i dont get what i want.. :confused: thanks before! :) (HowTos)