2012年6月29日星期五

Joining multiple lines into one with bash


Joining multiple lines into one with bash

Ahthe power and simplicity !
ls -1 | tr "\\n" ","
ls -1 | paste -sd ","
ls -1b | tr '\n' ';'


没有评论:

发表评论