Fix to random tip function.

pull/4/head
Joshua Levy 2015-06-14 13:37:32 -07:00
parent b6bd53fece
commit 85b2c20357
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ A few examples of piecing together commands:
```
function taocl() {
curl -s https://raw.githubusercontent.com/jlevy/the-art-of-command-line/master/README.md |
pandoc -f markdown -t html README.md |
pandoc -f markdown -t html |
xmlstarlet fo --html --dropdtd |
xmlstarlet sel -t -v "(html/body/ul/li[count(p)>0])[$RANDOM mod last()+1]" |
xmlstarlet unesc | fmt 80