Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
chengenbao
@chengenbao
Member
NO. 14651 / 2014-08-22

0 Topics / 2 Replies
0 Followers
0 Following
0 Favorites
GitHub Public Repos
More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 请教!Ruby 如何替换文件中的某一列 at December 16, 2014

    #6 楼 @devops awk 也不错啊

  • 请教!Ruby 如何替换文件中的某一列 at December 16, 2014

    这个很简单吧,将第一组的规则扫到一个 hash 中,然后读入第二组数据,每次读入一行,替换第六列就好了

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English