°Ô½Ã¹° 42°Ç
   
awk »ç¿ë¿¹Á¦
±Û¾´ÀÌ : theko ³¯Â¥ : 2020-04-17 (±Ý) 13:21 Á¶È¸ : 2162


cat test.txt | awk {'print $1 "    "   $1"_delete"'}
> test.txtÆÄÀÏÀ» ÀÐ°í ³ª¼­ 1¹ø° ¶óÀΠǥ½ÃÇÏ°í, °ø¹é, 1¹ø°¶óÀο¡_delete ºÙ¿©¼­ Ãâ·Â


cat 2.nas_file_name_change.sh | awk {'print "ls -l" "  "   $3'} > 3.nas_change_file_check.sh
2.nas_file_name_change.sh ÆÄÀÏÀ» ÀÐ°í  ls -l Ç¥½Ã, °ø¹é, 3¹ø°¶óÀÎ Ãâ·ÂÇÏ¿© 
3.nas_change_file_check.sh ÆÄÀÏ¿¡ ³»¿ë ³Ö±â


cat 2.nas_file_name_change.sh | awk {'print "echo 0"  " > " $3 '}

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com