mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
tweaks
This commit is contained in:
parent
46f05dc2fc
commit
947a8b8fc4
7
inxi
7
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 0.1.7
|
||||
#### version: 0.1.8
|
||||
#### Date: October 27 2008
|
||||
########################################################################
|
||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||
|
@ -57,8 +57,9 @@ shopt -u nullglob
|
|||
SCRIPT_NAME="inxi"
|
||||
SCRIPT_LOWER_CASE=$( tr '[A-Z]' '[a-z]' <<< $SCRIPT_NAME )
|
||||
SCRIPT_PATH=$( dirname $0 )
|
||||
SCRIPT_VERSION_NUMBER=$( grep -m 1 'version:' $SCRIPT_PATH/$SCRIPT_NAME | awk '{print $3}' )
|
||||
MY_VERSION="$SCRIPT_NAME $SCRIPT_VERSION_NUMBER"
|
||||
SCRIPT_VERSION_NUMBER=$( grep -im 1 'version:' $SCRIPT_PATH/$SCRIPT_NAME | awk '{print $3}' )
|
||||
SCRIPT_DATE=$( grep -im 1 'date:' $SCRIPT_PATH/$SCRIPT_NAME | awk '{print $3 " " $4 ", " $5}' )
|
||||
MY_VERSION="$SCRIPT_NAME v:$SCRIPT_VERSION_NUMBER"
|
||||
LC_ALL="C" # Make sure every program speaks English.
|
||||
export LC_ALL
|
||||
OIFS="$IFS" # Backup the current Internal Field Seperator
|
||||
|
|
Loading…
Reference in a new issue