Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Bash by Гена ( 13 years ago )
#!/bin/bash

ext="*.bash"

grep -E -o -h -s "^#!\s*/\S+$" $ext | sed -E "s/^#!\s*(\/\S+)$/\1/" | awk '{w=tolower($1); a[w]++} END {for (k in a) {print k, a[k]}}' | sort -n -r -k 2 | sed 1q | tr -d "[0-9]$"

exit 1

 

Revise this Paste

Your Name: Code Language: