Greetings to all,
I have an unusual request and here it goes.
On a RHEL 4.x system the output of a ls -l command is
Code:
-rw-r--r-- 1 apps dba 428542 Dec 5 2005 file1
-rw-r--r-- 1 apps dba 427561 Nov 8 2005 file2
-rw-r--r-- 1 apps dba 1117081 Aug 9 2005 file3
-rw-r--r-- 1 apps dba 3095798 Aug 9 2005 file4
-rw-r--r-- 1 apps dba 107412 Aug 9 2005 file5
On a RHEL 5.x system the output of a ls -l command is
Quote:
-rw-rw-r-- 1 apps dba 6606 Sep 9 07:27 file1
-rw-rw-r-- 1 apps dba 18625 Sep 9 07:27 file2
-rw-rw-r-- 1 apps dba 514568 Sep 9 07:27 file3
-rw-rw-r-- 1 apps dba 2594142 Sep 9 07:27 file4
-rw-rw-r-- 1 apps dba 431433 Sep 9 07:27 file5
|
The problem that I have is that there are 2 blank spaces after -rw-r--r-- in RHEL 4.x and only 1 space in RHEL 5.x. Our mainframe job does not like this and spits errors while reading the file listing.
The question that I have is can the output of the ls command in RHEL 5.x be altered to include that extra space just like RHEL 4.x? We would prefer to go this route rather than change the mainframe job at this time.
I've been scratching my head but unable to get any leads. Any pointers would be greatly appreciated.