This shows you the differences between two versions of the page.
— |
linux:bash:cut-3-string-output-dari-awk [2022/03/11 22:39] (current) kbadmin created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Cut Last 3 Char from Output AWK ====== | ||
+ | Memotong 3 string terakhir dari output yang dihasilkan oleh awk | ||
+ | |||
+ | < | ||
+ | cat / | ||
+ | </ | ||
+ | hasil | ||
+ | < | ||
+ | 2022-03-06 03:22:55 | ||
+ | 2022-03-06 03:22:55 | ||
+ | 2022-03-06 03:22:55 | ||
+ | 2022-03-06 03:22:55 | ||
+ | 2022-03-06 03:22:55 | ||
+ | </ | ||
+ | |||
+ | kita potong | ||
+ | < | ||
+ | cat / | ||
+ | </ | ||
+ | |||
+ | Output | ||
+ | < | ||
+ | 2022-03-06 03:22 | ||
+ | 2022-03-06 03:22 | ||
+ | 2022-03-06 03:22 | ||
+ | 2022-03-06 03:22 | ||
+ | 2022-03-06 03:22 | ||
+ | </ | ||
+ | |||