Microsoft
Software
Hardware
Network
Question : How to mix two files?
Hello group,
I have to text file file1 and file2.
How can I mix them such that their columns stand next by together (either in bash or PHP)?
file1 has:
A
B
C
D
E
F
file2 has
1
2
3
4
5
6
mixed file or file3 should be:
A 1
B 2
C 3
D 4
E 5
F 6
any help is appreciated.
Regards,
ak
Answer : How to mix two files?
#!/bin/bash
paste file1 file2 > file3
Random Solutions
Flash Player Acting Strangely - Settings won't stick
Solaris 7 "no shell" on root, su not working, su parameters for shell?
Remove Header & Footer
Undeliverable: recipient name not recognized -- Exchange 5.5
WebSphere 6.0 installation on Windows 2003 server cluster
Password hash security on Server 2003
Complex SQL Partition and Index creation ON very large tables
MS Access top 3 lines hashed out
process "system" 100% cpu XP
Active Server Pages error 'ASP 0201'