<commit_before>man2pdf
=======
  
**simple way to save man pages**
  
------

man2pdf will quickly pipe any [`manpage`](http://en.wikipedia.org/wiki/Man_page) to Preview to open up so you can save it as a `PDF` to make life easier to read it. Simply call the manpage you want as the first positional parameter after `man2pdf` and it will do the rest for you. No hassles!  

#### Installation #
Download the man2pdf script to the `/usr/bin` directory _(requires **cURL** and **sudo**)_:
``` bash
sudo curl "https://raw.github.com/danijeljames/man2pdf/master/man2pdf.sh" -o "/usr/bin/man2pdf" && sudo chmod a+x /usr/bin/man2pdf
```
Install the man page for man2pdf:
``` bash
sudo man2pdf -i
```
#### Usage #
| man2pdf | [-h]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[manpage]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-i] |
|---------|---------------------|
| `-h` | Displays the help file |
| `-i` | Installs the manpage for man2pdf _(requires sudo)_ |
| `manpage` | `man2pdf echo` would get the `echo` manpage and pipe it to Preview |

#### Contribution #
- Log a [bug report](https://github.com/danijeljames/man2pdf/issues/new)
- Send tweet to [@danijeljames](https://twitter.com/danijeljames)<commit_msg>Add a Bitdeli badge to README<commit_after>man2pdf
=======
  
**simple way to save man pages**
  
------

man2pdf will quickly pipe any [`manpage`](http://en.wikipedia.org/wiki/Man_page) to Preview to open up so you can save it as a `PDF` to make life easier to read it. Simply call the manpage you want as the first positional parameter after `man2pdf` and it will do the rest for you. No hassles!  

#### Installation #
Download the man2pdf script to the `/usr/bin` directory _(requires **cURL** and **sudo**)_:
``` bash
sudo curl "https://raw.github.com/danijeljames/man2pdf/master/man2pdf.sh" -o "/usr/bin/man2pdf" && sudo chmod a+x /usr/bin/man2pdf
```
Install the man page for man2pdf:
``` bash
sudo man2pdf -i
```
#### Usage #
| man2pdf | [-h]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[manpage]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[-i] |
|---------|---------------------|
| `-h` | Displays the help file |
| `-i` | Installs the manpage for man2pdf _(requires sudo)_ |
| `manpage` | `man2pdf echo` would get the `echo` manpage and pipe it to Preview |

#### Contribution #
- Log a [bug report](https://github.com/danijeljames/man2pdf/issues/new)
- Send tweet to [@danijeljames](https://twitter.com/danijeljames)


[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/danijeljames/man2pdf/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

{'fraction_non_alphanumeric': 0.1883217324052591, 'fraction_numerical': 0.013147718484145398, 'mean_word_length': 4.023300970873787, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1609847', 'n_tokens_mistral': 931, 'n_tokens_neox': 883, 'n_words': 262}