Talk:Magnum SemiRP Unturned Game Server: Player History and Steam64 IDs

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

script

cat openmod-2022*|grep "Connecting:" > playerids.txt
sed -E 's/\[202.*PlayerID:\ //' playerids.txt > playerids2.txt
sort playerids2.txt|uniq>playerids3.txt
sed -E 's/^\(.*\)/ <nowiki>\1<\/nowiki>/' playerids3.txt > playerids4.txt
sed -e 's/^\(.*\)/ <nowiki>\1<\/nowiki>/' playerids3.txt > playerids4.txt

To cat them all on the screen without overfill scrollback buffer

sed -n '1,1000p' playerids4.txt
sed -n '1001,2000p' playerids4.txt
sed -n '2001,3000p' playerids4.txt