From a5959aafca05b0613d94cf13f6a973107a7da149 Mon Sep 17 00:00:00 2001 From: Tim Shimmin Date: Tue, 23 Aug 2005 15:12:53 +0000 Subject: [PATCH] stat is different on Linux vs. IRIX. Will use ls instead and filter. Merge of master-melb:xfs-cmds:23593a by kenmcd. stat is different on Linux vs. IRIX. Will use ls instead and filter. --- 118 | 4 +++- 118.out | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/118 b/118 index b2c00d06..be43ed6d 100755 --- a/118 +++ b/118 @@ -99,7 +99,9 @@ echo "now fill in the holes" _chowning_file 1000 2000 1 echo "look at the final file ownership for fun" -stat -ug $SCRATCH_MNT/* | sed "s#$SCRATCH_MNT#SCRATCH_MNT#g" +ls -l $SCRATCH_MNT/* \ +| $AWK_PROG 'NF > 2 {print $3, $4, $NF}' \ +| sed "s#$SCRATCH_MNT#SCRATCH_MNT#g" # success, all done status=0 diff --git a/118.out b/118.out index b7ea9975..5cdb6944 100644 --- a/118.out +++ b/118.out @@ -6,5 +6,4 @@ creating quota file with holes now fill in the holes ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ look at the final file ownership for fun -SCRATCH_MNT/file.chown: - uid 1999; gid 1999 +1999 1999 SCRATCH_MNT/file.chown -- 2.47.3