List tox users in a friendlier way
This commit is contained in:
parent
154ed49fd7
commit
3684e93896
|
@ -109,7 +109,9 @@ function ipfs_bootstrap {
|
||||||
}
|
}
|
||||||
|
|
||||||
function detect_tox_users {
|
function detect_tox_users {
|
||||||
lstox > $TEMPFILE
|
# don't show the first peer field
|
||||||
|
lstox | awk -F ' ' '{$1=""; print $0}' | sed -e 's/^[[:space:]]*//' | sort -d > $TEMPFILE
|
||||||
|
|
||||||
toxctr=0
|
toxctr=0
|
||||||
echo '<ol type="square">' >> $TOX_USERS_FILE.new
|
echo '<ol type="square">' >> $TOX_USERS_FILE.new
|
||||||
while IFS='' read -r line || [[ -n "$line" ]]; do
|
while IFS='' read -r line || [[ -n "$line" ]]; do
|
||||||
|
|
Loading…
Reference in New Issue