RubyGems Navigation menu

benry-unixcmd 0.9.0

Unix commnads implementation, like `fileutils.rb`. Features compared to `fileutils.rb`: * supports file patterns (`*`, `.`, `{}`) directly. * provides `cp :r`, `mv :p`, `rm :rf`, ... instead of `cp_r`, `mv_p`, `rm_rf`, ... * prints command prompt `$ ` before command echoback. * provides `pushd` which is similar to `cd` but supports nested calls naturally. * implements `capture2`, `capture2e`, and `capture3` which calls `Popen3.capture2`, `Popen3.capture2`, and `Popen3.capture3` respectively. * supports `touch -r reffile`. * provides `sys` command which is similar to `sh` in Rake but different in details. * provides `zip` and `unzip` commands (requires `rubyzip` gem). * provides `store` command which copies files recursively into target directory, keeping file path. * provides `atomic_symlink!` command which switches symlink atomically. ``` cp Dir['*.rb'], 'tmpdir' ## fileutils.rb cp '*.rb', 'tmpdir' ## benry-unixcmd ``` Benry-unixcmd provides `cp_p` and `cp_pr` which are equivarent to `cp -p` and `cp -pr` respectively and not provided by `fileutiles.rb`.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 0.9.1 October 29, 2023 (37KB)
  2. 0.9.0 September 14, 2021 (33KB)

Development依存関係 (1):

oktest ~> 1

所有者:

プッシュ者:

作者:

  • kwatch

SHA 256チェックサム:

=

累計ダウンロード数 2,329

このバージョンのみ 1,912

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: