awk 특수문자 쉽게 처리 하기

 

awk 사용시 .. 특수문자 인식시키려면.. ㄸㅏ음표와의 전쟁임..

아래 코드로 하면 간단하게 처리 가능.

\x21 \x22 \x23 \x24 \x25
! # $ %
\x26 \x27 \x28 \x29 \x2a
& ( ) *
\x2b \x2c \x2d \x2e \x2f
+ , . /
\x30 \x31 \x32 \x33 \x34
1 2 3 4
\x35 \x36 \x37 \x38 \x39
5 6 7 8 9
\x3a \x3b \x3c \x3d \x3e
: ; < = >
\x3f \x40 \x41 \x42 \x43
? @ A B C
\x44 \x45 \x46 \x47 \x48
D E F G H
\x49 \x4a \x4b \x4c \x4d
I J K L M
\x4e \x4f \x50 \x51 \x52
N O P Q R
\x53 \x54 \x55 \x56 \x057
S T U V W
\x58 \x59 \x5a \x5b \x5c
X Y Z [ \
\x5d \x5e \x5f \x60 \x61
] ^ _ ` a
\x62 \x63 \x64 \x65 \x66
b c d e f
\x67 \x68 \x69 \x6a \x6b
g h i j k
\x6c \x6d \x6e \x6f \x70
l m n o p
\x71 \x72 \x73 \x74 \x75
q r s t u
\x76 \x77 \x78 \x79 \x7a
v w x y z
\x7b \x7c \x7d \x7e  
{ | } ~  

 

 

 

Written on November 4, 2015