0
0

More than 3 years have passed since last update.

awk 実践例集

Last updated at Posted at 2021-09-18

概要

Qiita に投稿した awk の実践例集.

「日本語を使う」「ハッシュ配列」といった処理が必要な場合は、
Python, Ruby などの LL に頼り、awk でクソ粘りすることはしないし、できない.

コンテンツ 一言
【一行野郎】コロン「:」区切りによる最短一致と最長一致の取り出し ワンライナー
/etc/inittabの内容をレベル毎にソートして表示する 中規模プログラム.
ps -ef の結果からユーザ単位でプロセス個数を表示するプログラム 中規模プログラム.
個人的には awk で頑張る限界に近い規模である.
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0