From a181d180fafbd0a7264f2edb7b4858c4070ba95d Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Fri, 14 Mar 2014 22:51:37 +0100 Subject: [PATCH] Bump inxi version to 2.1.1 Hasn't been bumped in rather a while. --- data/scripts/inxi | 6496 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 5015 insertions(+), 1481 deletions(-) diff --git a/data/scripts/inxi b/data/scripts/inxi index f5d8a91c..a7c2528d 100755 --- a/data/scripts/inxi +++ b/data/scripts/inxi @@ -1,8 +1,8 @@ -#!/bin/bash +#!/usr/bin/env bash ######################################################################## #### Script Name: inxi -#### version: 1.7.31 -#### Date: March 26 2012 +#### Version: 2.1.1 +#### Date: 2014-03-14 #### Patch Number: 00 ######################################################################## #### SPECIAL THANKS @@ -12,21 +12,22 @@ ######################################################################## #### ABOUT INXI ######################################################################## -#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif +#### inxi is a fork of infobash 3.02, the original bash sys info tool by locsmif #### As time permits functionality improvements and recoding will occur. #### -#### inxi, the universal, portable, system info script for irc. +#### inxi, the universal, portable, system information tool for irc. #### Tested with Irssi, Xchat, Konversation, BitchX, KSirc, ircII, #### Gaim/Pidgin, Weechat, KVIrc and Kopete. #### Original infobash author and copyright holder: #### Copyright (C) 2005-2007 Michiel de Boer a.k.a. locsmif -#### inxi version: Copyright (C) 2008-12 Scott Rogers & Harald Hope +#### inxi version: Copyright (C) 2008-2014 Scott Rogers & Harald Hope #### Further fixes (listed as known): Horst Tritremmel #### Steven Barrett (aka: damentz) - usb audio patch; swap percent used patch #### Jarett.Stevens - dmidecde -M patch for older systems with the /sys #### -#### Current script home page: http://techpatterns.com/forums/about1131.html -#### Script svn: http://code.google.com/p/inxi +#### Current script home page/wiki/svn: http://inxi.googlecode.com +#### Script forums: http://techpatterns.com/forums/forum-33.html +#### IRC support: irc.oftc.net channel #smxi #### #### This program is free software; you can redistribute it and/or modify #### it under the terms of the GNU General Public License as published by @@ -52,7 +53,7 @@ #### DEPENDENCIES #### * bash >=3.0 (bash); df, readlink, stty, tr, uname, wc (coreutils); #### gawk (gawk); grep (grep); lspci (pciutils); -#### free, ps, uptime (procps); find (findutils) +#### ps, uptime (procps); find (findutils) #### * Also the proc filesystem should be present and mounted #### * Some features, like -M and -d will not work, or will work incompletely, #### if /sys is missing @@ -83,6 +84,20 @@ #### and ideally, pwmconfig) prior to full output being available. #### -S For desktop environment, user must be in X and have xprop installed (in X11-utils) ######################################################################## +#### BSD Adjustments +#### * sed -i '' form supported by using SED_I="-i ''". +#### * Note: New BSD sed supports using -r instead of -E for compatibility with gnu sed +#### However, older, like FreeBSD 7.x, does not have -r so using SED_RX='-E' for this. +#### * Gnu grep options can be used if the function component is only run in linux +#### These are the options that bsd grep does not support that inxi uses: -m -o +#### so make sure if you use those to have them in gnu/linux only sections. +#### It appears that freebsd uses gnu grep but openbsd uses bsd grep, however. +#### * BSD ps does not support --without-headers option, and also does not support --sort