summaryrefslogtreecommitdiff
path: root/scriptlets/ieset.sh
blob: 698dbe40e25f1835a455f64b0c2feab3d4dac141 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

while read LINE; do

    P_AMOUNT="$( echo $line | sed -r "s|\s+([0-9]+) [^ ]+|\1|g" )"
    echo "$P_AMOUNT"

done < <( find "$(pwd)" -type f | sort | sed -r "s|_p[0-9]+||g" | uniq -c )