Created
March 22, 2012 01:22
-
-
Save dallarosa/2155000 to your computer and use it in GitHub Desktop.
awk one-liner that takes a comma-separated list of username followed by names and creates links to each user's address.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk -F", " '{print "<li><a href=\"http://example.com/~"$1"\">"$2"</a></li>"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment