Skip to content

Instantly share code, notes, and snippets.

@wasprobot
Created February 18, 2016 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wasprobot/53a90b4be30cabb53b9e to your computer and use it in GitHub Desktop.
Save wasprobot/53a90b4be30cabb53b9e to your computer and use it in GitHub Desktop.
Find the 1st character in every *.html file in the current directory
for file in *.html; do echo -ne "$file" && head -1 "$file" | cut -c1 ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment