diff --git a/inxi b/inxi index 5c201f1..a1ff62b 100755 --- a/inxi +++ b/inxi @@ -2,8 +2,8 @@ ######################################################################## #### Script Name: inxi #### Version: 2.1.95 -#### Date: 2014-08-13 -#### Patch Number: 03 +#### Date: 2014-08-14 +#### Patch Number: 04 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -4901,7 +4901,7 @@ get_dmidecode_data() # strip out all the stuff we don't want to see in the results. We want the error data in # stdout for error handling if [[ $b_debugger == 'true' ]];then - dmiData="$( cat ~/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-1.txt )" + dmiData="$( cat ~/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-2.txt )" else dmiData="$( $dmidecodePath 2>&1 )" fi @@ -8368,10 +8368,12 @@ get_ram_data() # print primaryType "," arrayHandle "," deviceSize "," bankLocator "," locator "," formFactor "," deviceType "," deviceTypeDetail "," deviceSpeed "," configuredClockSpeed "," dataWidth "," totalWidth "," deviceManufacturer "," devicePartNumber "," deviceSerialNumber "," mainLocator m=0 + bPrint="true" for ( j=0;j aMaxModuleSize[m]){ aMaxModuleSize[m]=aDerivedModuleSize[m] - estModuleSize=" (est.)" + estModuleSize=" (est)" } if (aMaxModuleSize[m] == 0 ){ aMaxModuleSize[m]="" @@ -8421,7 +8429,7 @@ get_ram_data() } else if ( a_memory[j,3] < 1024000000 ) { a_memory[j,3] = a_memory[j,3] / 1024000 - unit=" GB" + unit=" TB" } a_memory[j,3]=gensub(/([0-9]+\.[0-9][0-9]).*/,"\\1",1,a_memory[j,3]) a_memory[j,3] = a_memory[j,3] unit estCap @@ -8429,11 +8437,15 @@ get_ram_data() if ( aMaxModuleSize[m] != "" ){ aMaxModuleSize[m]=aMaxModuleSize[m] " MB" } - print a_memory[j,0] "," a_memory[j,1] "," a_memory[j,2] "," a_memory[j,3] "," a_memory[j,4] "," a_memory[j,5] "," a_memory[j,6] "," aMaxModuleSize[m] estModuleSize "," a_memory[j,8] + if ( bPrint == "true" ){ + print a_memory[j,0] "," a_memory[j,1] "," a_memory[j,2] "," a_memory[j,3] "," a_memory[j,4] "," a_memory[j,5] "," a_memory[j,6] "," aMaxModuleSize[m] estModuleSize "," a_memory[j,8] + } m++ } else { - print a_memory[j,0] "," a_memory[j,1] "," a_memory[j,2] "," a_memory[j,3] "," a_memory[j,4] "," a_memory[j,5] "," a_memory[j,6] "," a_memory[j,7] "," a_memory[j,8] "," a_memory[j,9] "," a_memory[j,10] "," a_memory[j,11] "," a_memory[j,12] "," a_memory[j,13] "," a_memory[j,14] "," a_memory[j,15] + if ( bPrint == "true" ){ + print a_memory[j,0] "," a_memory[j,1] "," a_memory[j,2] "," a_memory[j,3] "," a_memory[j,4] "," a_memory[j,5] "," a_memory[j,6] "," a_memory[j,7] "," a_memory[j,8] "," a_memory[j,9] "," a_memory[j,10] "," a_memory[j,11] "," a_memory[j,12] "," a_memory[j,13] "," a_memory[j,14] "," a_memory[j,15] + } } } }' <<< "$DMIDECODE_DATA" ) ) diff --git a/inxi.changelog b/inxi.changelog index d3a42cc..12b5d7e 100755 --- a/inxi.changelog +++ b/inxi.changelog @@ -1,3 +1,16 @@ +===================================================================================== +Version: 2.1.95 +Patch Version: 04 +Script Date: 2014-08-14 +----------------------------------- +Changes: +----------------------------------- +New patch version, tarball. Fixed a few small oversights, more debugging added. + +Will next try to handle the remaining corner cases if possible. +----------------------------------- +-- Harald Hope - Thu, 14 Aug 2014 12:23:38 -0700 + ===================================================================================== Version: 2.1.95 Patch Version: 01