# Space2underscore
## What
Convert to underscore the space

## Installation

Add this line to your application's Gemfile:

    gem 'space2underscore'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install space2underscore

If your computer is Ubuntu

    $ sudo apt-get install xclip

If your computer is CentOS

    $ sudo yum -y install xclip

You need to alias

    $ alias pbcopy='xsel --clipboard --input'

## Usage

From the terminal:

    $ space2underscore target sentence
    => target_sentence  # copied to the clipboard

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request


# Space2underscore
## What
Convert to underscore the space

## Installation

Add this line to your application's Gemfile:

    gem 'space2underscore'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install space2underscore

If your computer is Ubuntu

    $ sudo apt-get install xsel

If your computer is CentOS

    $ sudo yum -y install xsel

You need to alias

    $ alias pbcopy='xsel --clipboard --input'

## Usage

From the terminal:

    $ space2underscore target sentence
    => target_sentence  # copied to the clipboard

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request


Change need command from xclip to xsel on space2underscore
Change need command from xclip to xsel on space2underscore
