From 5ac99045d45951d8d261af620a20e8a0d8a52713 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 3 Dec 2008 23:26:10 +0000 Subject: [PATCH] small tweak to make to *** to make it shorter --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index c0ed8fd..d486806 100755 --- a/inxi +++ b/inxi @@ -1940,7 +1940,7 @@ get_partition_data() # the test show the wrong data in each of the fields, if no x%, then do not use if ( $(NF - 1) ~ /[0-9]+\%/ ) { # cleaning up user name here to avoid showing too much info on irc - partitionName=gensub( /^\/home\/(.*)\/(.*)/, "/home//\\2", 1, $NF ) + partitionName=gensub( /^\/home\/(.*)\/(.*)/, "/home/***/\\2", 1, $NF ) print partitionName "," $(NF - 4) "," $(NF - 3) "," $(NF - 1) ",secondary" } }