I have following files ...
$ cat drive17_status
Drive17
======
Jul 11 tsm03 BW5450
Jul 11 tsm03 BW4538
$ cat drive7_status
Drive7
======
Jul 13 tsm03 BR3364
Jul 13 tsm05 BR1989
$ cat drive6_status
Drive6
======
Jul 13 tsm01 BR3363
Jul 13 tsm05 BR1990
$cat drive8_status
$
And output should look like ...
$cat drive_status
Drive6 Drive7 Drive17 Drive8_status
====== ======== ======== ======
Jul 13 tsm01 BR3363 Jul 13 tsm03 BR3364 Jul 11 tsm03 BW5450
Jul 13 tsm05 BR1990 Jul 13 tsm05 BR1989 Jul 11 tsm03 BW4538
Any help appreciated ?
$ cat drive17_status
Drive17
======
Jul 11 tsm03 BW5450
Jul 11 tsm03 BW4538
$ cat drive7_status
Drive7
======
Jul 13 tsm03 BR3364
Jul 13 tsm05 BR1989
$ cat drive6_status
Drive6
======
Jul 13 tsm01 BR3363
Jul 13 tsm05 BR1990
$cat drive8_status
$
And output should look like ...
$cat drive_status
Drive6 Drive7 Drive17 Drive8_status
====== ======== ======== ======
Jul 13 tsm01 BR3363 Jul 13 tsm03 BR3364 Jul 11 tsm03 BW5450
Jul 13 tsm05 BR1990 Jul 13 tsm05 BR1989 Jul 11 tsm03 BW4538
Any help appreciated ?