<commit_before>pvers
==========

*PHP version manager written in BASH. Easy to install and easy to use. Compile different versions of PHP and switch between them in a moment.*

## Installation
```sh
$ git clone https://github.com/zinovyev/pvers.git
$ sudo mv pvers/pvers /usr/bin/pvers
$ rm -rf pvers
```

## Usage

*pvers [ option ... ] [php-version]*


Where options are:


    -h or --help        Print helo message.

    -v or --version     Print pvers version.

    -l or --list        List locally installed PHP versions.

    -d or --delete      Remove locally installed PHP version (as root only).

    -i or --install     Install (only) PHP of given version (as root only).

    -s or --select      Select (only) PHP of given version (as root only).

    -vv or --verbose    Verbose output (show all warnings and errors).

*To install or select (if already installed) PHP of version 5.6.6 just type:*
```sh
$ pvers 5.6.6
```
When neither '-i', nor '-s' flag is declared, a package will be first installed (if not already) and then selected (linked). So you can easy skip both of this flags.

## Example
```sh
$ php -v
PHP 5.6.6 (cli) (built: Feb 26 2015 10:51:33) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
$ sudo pvers 5.3
You're trying to install an old version of PHP. Its support is highly experimental. Really want to continue? [Y/n] Y
Linking...
Current PHP version is 5.3.29
$ php -v
PHP 5.3.29 (cli) (built: Mar  1 2015 13:34:21) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
$ sudo pvers 5.6.6
Linking...
Current PHP version is 5.6.6
$ php -v
PHP 5.6.6 (cli) (built: Feb 26 2015 10:51:33) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
$ pvers -l
5.3.29
5.4.38
5.5.22
5.6.0
5.6.1
5.6.2
5.6.6 [*]
```<commit_msg>description improved<commit_after>pvers
==========

*PHP version manager written in BASH. Easy to install and easy to use. Compile different versions of PHP and switch between them in a moment.*

## Installation
```sh
$ git clone https://github.com/zinovyev/pvers.git
$ sudo mv pvers/pvers /usr/bin/pvers
$ rm -rf pvers
```

## Usage

*pvers [ option ... ] [php-version]*


Where options are:


    -h or --help        Print help message.

    -v or --version     Print pvers version.

    -l or --list        List locally installed PHP versions.

    -d or --delete      Remove locally installed PHP version (as root only).

    -i or --install     Install (only) PHP of given version (as root only).

    -s or --select      Select (only) PHP of given version (as root only).

    -vv or --verbose    Verbose output (show all warnings and errors).

*To install or select (if already installed) PHP of version 5.6.6 just type:*
```sh
$ pvers 5.6.6
```
As you see, if neither '-i', nor '-s' flag are declared, a package will be first installed (if not already) and then selected (linked). So you can easy skip both of this flags.

## Example

```sh
$ php -v
PHP 5.6.6 (cli) (built: Feb 26 2015 10:51:33) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
$ sudo pvers 5.3
You are trying to install an old version of PHP. Its support is highly experimental. Really want to continue? [Y/n] Y
Linking...
Current PHP version is 5.3.29
$ php -v
PHP 5.3.29 (cli) (built: Mar  1 2015 13:34:21) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
$ sudo pvers 5.6.6
Linking...
Current PHP version is 5.6.6
$ php -v
PHP 5.6.6 (cli) (built: Feb 26 2015 10:51:33) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
$ pvers -l
5.3.29
5.4.38
5.5.22
5.6.0
5.6.1
5.6.2
5.6.6 [*]
```
{'fraction_non_alphanumeric': 0.12224554039874082, 'fraction_numerical': 0.07555089192025184, 'mean_word_length': 2.894790602655771, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6752519', 'n_tokens_mistral': 1497, 'n_tokens_neox': 1265, 'n_words': 559}