Ubuntu Pastebin

Paste from ioria at Sat, 1 Aug 2015 12:22:36 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/bin/bash
#curl -o sl.html http://manpages.ubuntu.com/manpages/vivid/man6/sl.6.html &&  html2text sl.html > sl.txt
echo insert programe name :
read line
echo insert distro :
read line1
echo insert man version  - 1,2,3,4,5,6 - :
read line2
curl -o "$line"_man.html http://manpages.ubuntu.com/manpages/"$line1"/en/man"$line2"/"$line"."$line2".html &&  html2text "$line"_man.html > "$line"_man.txt
cat "$line"_man.txt
Download as text