Conversation
Notices
-
menherahair (menherahair@eientei.org)'s status on Sunday, 21-Jan-2024 18:53:48 JST menherahair perl -ne '$c{$2}++ for /(^|\|)\s*(\w+)/gs; END { map { printf "%.3d %s\n", $c{$_}, $_ } keys %c }' < $HISTFILE | sort -r | head -
Machismo (zerglingman@freespeechextremist.com)'s status on Sunday, 21-Jan-2024 18:53:42 JST Machismo @menherahair @FrailLeaf Couldn't you just grep -c '|' $HISTSFILE? -
menherahair (menherahair@eientei.org)'s status on Sunday, 21-Jan-2024 18:53:43 JST menherahair @FrailLeaf it just counts commands in your $HISTFILE including pipes... -
FrailLeaf (frailleaf@ryona.agency)'s status on Sunday, 21-Jan-2024 18:53:44 JST FrailLeaf @menherahair not gonna run this -
menherahair (menherahair@eientei.org)'s status on Sunday, 21-Jan-2024 18:53:46 JST menherahair @FrailLeaf yeah I messed up this is better perl -ne '$c{$3}++ for /(^|\|)\s*(\w+=\w+\s+)*(\w+)/gs; END { map { printf "%.5d %s\n", $c{$_}, $_ } keys %c }' < $HISTFILE | sort -r | head -
FrailLeaf (frailleaf@ryona.agency)'s status on Sunday, 21-Jan-2024 18:53:47 JST FrailLeaf @menherahair no -
Machismo (zerglingman@freespeechextremist.com)'s status on Sunday, 21-Jan-2024 18:55:10 JST Machismo @FrailLeaf @menherahair Oh I misunderstood what it does
-