6 lines
150 B
Bash
6 lines
150 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Browse web pages with curl, awk and less. Less is more!
|
||
|
|
||
|
curl -Ls "$1" | awk '/<body>/,/<\/body>/ { gsub("<[^>]*>", ""); print }' | less
|