bash shell pipe 的寫法

以前大多使用 | >,較少用到 <

現在看到文章才知道為甚麼以前試都不行
ls | cat = cat <(ls)

ls一定要加擴弧,且跟<之間不能有空白

This entry was posted in 工作. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s