Created
April 14, 2020 09:53
-
-
Save geunho/f044e1b52c27c2f8810d0106ebbf3abf to your computer and use it in GitHub Desktop.
awk tips π«
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # $OTHER_VARμ΄ μ«μ νμμ λ¬ΈμμΌ κ²½μ° -v μ΅μ μΌλ‘ awk λ΄ λ³μ μ§μ μ ν΄μ€μΌ μ μμ μΈ μ°μ μ°μ°μ΄ μνλ¨ π | |
| # λ λ²μ§Έ νλͺ©μ΄ $OTHER_VAR λ³΄λ€ ν¬κ±°λ κ°μ λΌμΈμ μ°Ύλλ€. | |
| awk -v t=$OTHER_VAR '$2 >= t' $FILE_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment