Fix right-justification of columns
This commit is contained in:
parent
6cad5c85c0
commit
a4342fd525
2
scsictl
2
scsictl
@ -38,7 +38,7 @@ case "${1}" in
|
||||
echo "${DEV_HCIL} ${DEV_PORT} ${BLOCKDEV} ${DEVICE_SZ} ${DEVICE_ID}" >> /tmp/scsictl
|
||||
done
|
||||
sort -n -o /tmp/scsictl /tmp/scsictl
|
||||
column -N H:C:I:L,PORT,DEV,SIZE,NAME -t -R2,4 -o" " /tmp/scsictl
|
||||
column -N H:C:I:L,PORT,DEV,SIZE,NAME -t -R1,4 -o" " /tmp/scsictl
|
||||
rm /tmp/scsictl
|
||||
;;
|
||||
*) echo "Unknown verb '${1}' -- expected delete, list, or rescan"; exit 1;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user