populate_ranks_and_times() {
# Parse a line of fasd data
[[ $2 =~ (.*)\|(([0-9]+)(\.([0-9]*))?)\|(.*) ]]
fname=${BASH_REMATCH[1]}
#rank=${BASH_REMATCH[2]}
iRank=${BASH_REMATCH[3]}
fRank=${BASH_REMATCH[5]}
time=${BASH_REMATCH[6]}
But I have no idea about the situation of iCount. It seems never to be initialized with a value.
following error message prompted when selecting a entry or enterinig a directory.
Usage Scenario
OS Environment
Bug Cause
I ran the script with
-x
option on and notice that the value offRank
andiCount
in line 465, 466,467 was empty like followingI can see that
fRank
seems failed to match corresponding value with regex from passed in entry, like following:But I have no idea about the situation of
iCount
. It seems never to be initialized with a value.