awk中printf華麗輸出

awk中printf與perl、c、c++都一致,用的好的話能夠使用很是簡潔的代碼完成相同的效果linux 好比如今的需求是須要把linux中的進程與其對應的PID號打印出來,咱們能夠對比一下perl與awk的區別。c++   perlspa #!/usr/bin/perl use strict; use Shell; my @process = ps("-ef"); for (@proces
相關文章
相關標籤/搜索