Changeset 3275 in MondoRescue
- Timestamp:
- Apr 29, 2014, 9:51:06 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/analyze-my-lvm
r3066 r3275 13 13 GetValueFromField() { 14 14 local res 15 grep -i "$2" "$1" | perl -p i-e 's/\s*(.*)\s\s\s+(.+)$/$2/;s/\sT[i]*B/t/;s/\sG[i]*B/g/;s/\sM[i]*B/m/;s/\sK[i]*B/k/'15 grep -i "$2" "$1" | perl -p -e 's/\s*(.*)\s\s\s+(.+)$/$2/;s/\sT[i]*B/t/;s/\sG[i]*B/g/;s/\sM[i]*B/m/;s/\sK[i]*B/k/' 16 16 } 17 17
Note:
See TracChangeset
for help on using the changeset viewer.