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 (37.0 KB)
  2. 0.9.0 September 14, 2021 (33.0 KB)

Development 依赖 (1):

oktest ~> 1

业主:

推送:

作者:

  • kwatch

SHA 256 校验和:

=

下载总量 2,329

这个版本 1,912

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 0

链接: