<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Simple_</title>
    <link>https://simplesolace.tistory.com/</link>
    <description></description>
    <language>ko</language>
    <pubDate>Sat, 4 Jul 2026 22:24:59 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>Triany</managingEditor>
    <item>
      <title>IT 추천도서</title>
      <link>https://simplesolace.tistory.com/entry/IT-%EC%B6%94%EC%B2%9C%EB%8F%84%EC%84%9C</link>
      <description>&lt;p&gt;혼자 공부하기(독학) 적합한 도서&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;네트워크 영역&lt;/p&gt;&lt;p&gt;1. 후니의 쉽게 쓴 시스코 네트워킹&lt;/p&gt;&lt;p&gt;서술형으로 쉽게 읽힌다.&amp;nbsp;&lt;/p&gt;&lt;p&gt;OSI 7 Layer등 필수 내용이 모두 들어가 있다.&lt;/p&gt;&lt;p&gt;http://www.aladin.co.kr/shop/wproduct.aspx?ItemId=11083088&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;line-height: 1.5;&quot;&gt;프로그래밍 영역&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;line-height: 1.5;&quot;&gt;1. 윤성우의 열혈 C 프로그래밍&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;line-height: 1.5;&quot;&gt;http://www.aladin.co.kr/shop/wproduct.aspx?ItemId=8016119&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;line-height: 1.5;&quot;&gt;&amp;nbsp;자료구조&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;line-height: 1.5;&quot;&gt;1. 윤성우의 열혈 자료구조&lt;/span&gt;&lt;/p&gt;&lt;p&gt;http://www.aladin.co.kr/shop/wproduct.aspx?ItemId=14783463&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;line-height: 1.5;&quot;&gt;운영체제&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;DB(SQL)&lt;/p&gt;</description>
      <category>기타</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/468</guid>
      <comments>https://simplesolace.tistory.com/entry/IT-%EC%B6%94%EC%B2%9C%EB%8F%84%EC%84%9C#entry468comment</comments>
      <pubDate>Thu, 4 Feb 2016 17:59:20 +0900</pubDate>
    </item>
    <item>
      <title>[리눅스 명령어] charttr</title>
      <link>https://simplesolace.tistory.com/entry/%EB%A6%AC%EB%88%85%EC%8A%A4-%EB%AA%85%EB%A0%B9%EC%96%B4-chartty</link>
      <description>&lt;p&gt;lsattr : 파일에 설정되어 있는 속성을 확인하는 명령&lt;/p&gt;&lt;p&gt;charttr&amp;nbsp;: 파일의 속성을 설정하고 제거할 수 있는 명령어&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(159, 211, 49); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;$ lsattr /etc/abc.conf&lt;/p&gt;&lt;p&gt;----i--------e-&amp;nbsp;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;/etc/abc.conf&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;사용형식 : chartty [-RV] [-v 설정버전] [+-=설정모드] 대상파일명&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;[+-=설정모드]&lt;/p&gt;&lt;p&gt;+: 지정한 속성을 부여&lt;/p&gt;&lt;p&gt;-: 부여된 속성을 제거&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;만약 abc.conf가 있고, 해당conf에 +i속성이 걸려있어 수정할 수 없다면..!&lt;/p&gt;&lt;p&gt;아래 절차를 따라 변경할 수 있다.!&lt;/p&gt;&lt;p&gt;#i 속성을 삭제&lt;/p&gt;&lt;p&gt;charttr&amp;nbsp;-i 파일명&lt;/p&gt;&lt;p&gt;# 파일 수정후...&lt;/p&gt;&lt;p&gt;#i 속성을 첨가&lt;/p&gt;&lt;p&gt;charttr +i 파일명&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color: rgb(0, 0, 0); font-family: 'Malgun Gothic'; line-height: normal;&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span class=&quot;style8&quot;&gt;i&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;style8&quot;&gt;속성&lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: 'Malgun Gothic'; line-height: normal;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color=&quot;#000000&quot;&gt;이 속성이 지정되어 있다면 해당파일의 변경,&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font color=&quot;#000000&quot; style=&quot;color: rgb(0, 0, 0); font-family: 'Malgun Gothic'; line-height: normal;&quot;&gt;삭제,&amp;nbsp;이름변경뿐 아니라 파일추가및 링크파일도 만들 수 없게 됩니다&lt;/font&gt;&lt;font color=&quot;#000000&quot; style=&quot;color: rgb(0, 0, 0); font-family: 'Malgun Gothic'; line-height: normal;&quot;&gt;.&amp;nbsp;&lt;br /&gt;변경추가가 거의 없는 부팅관련 파일들에 설정하면 부팅이 되지않는 문제로 인한 시스템장애를 줄일 수 있습니다&lt;/font&gt;&lt;font color=&quot;#000000&quot; style=&quot;color: rgb(0, 0, 0); font-family: 'Malgun Gothic'; line-height: normal;&quot;&gt;.&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot; style=&quot;color: rgb(0, 0, 0); font-family: 'Malgun Gothic'; line-height: normal;&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot; style=&quot;color: rgb(0, 0, 0); font-family: 'Malgun Gothic'; line-height: normal;&quot;&gt;참고:&amp;nbsp;&lt;/font&gt;&lt;font color=&quot;#000000&quot; face=&quot;Malgun Gothic&quot;&gt;&lt;span style=&quot;line-height: normal;&quot;&gt;https://www.linux.co.kr/home/lecture/?leccode=10664).&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;</description>
      <category>리눅스</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/463</guid>
      <comments>https://simplesolace.tistory.com/entry/%EB%A6%AC%EB%88%85%EC%8A%A4-%EB%AA%85%EB%A0%B9%EC%96%B4-chartty#entry463comment</comments>
      <pubDate>Mon, 19 Oct 2015 15:17:54 +0900</pubDate>
    </item>
    <item>
      <title>[python] 명령행 옵션 처리/분리 getopt 함수!</title>
      <link>https://simplesolace.tistory.com/entry/python-%EB%AA%85%EB%A0%B9%ED%96%89-%EC%98%B5%EC%85%98-%EC%B2%98%EB%A6%AC%EB%B6%84%EB%A6%AC-getopt-%ED%95%A8%EC%88%98</link>
      <description>&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 14pt; line-height: 1.5;&quot;&gt;getopt 모듈의 getopt함수를 이용하면,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 14pt;&quot;&gt;sys.argv로 전달받은 명령행의 인수리스트에서 옵션을 분리해 낼 수 있다!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 14pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;아래와 같이 쓸 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(159, 211, 49); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;import sys&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;import getopt&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&lt;b&gt;options, args = getopt.getopt(sys.argv[1:], 'a:b:c:')&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;for op, p in options:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; if op == '-a':&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print 'option a', p&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; elif op == '-b':&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print 'option b', p&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; elif op == '-c':&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print 'option c', p&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; else:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print 'Unknown option', op&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;print args&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;$ python _getopt.py -a apple -b banana -c cat people agg&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;[('-a', 'apple'), ('-b', 'banana'), ('-c', 'cat')]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;option a apple&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;option b banana&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;option c cat&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;['people', 'agg']&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;getopt함수&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;첫번째 : 인수리스트(sys.argv[1:])&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;두번째 : 옵션문자들('a:b:c:')&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&lt;b&gt;이때 옵션문자에 :가 사용된다면 옵션에 추가의 인수를 받아들인다는 의미!&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&lt;b&gt;abc:de:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&lt;b&gt;라면, a,b,d는 단독옵션이고, c,e는 인수를 갖는 옵션이다!&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 10pt; line-height: 22px;&quot;&gt;출처: 열혈강의 파이썬프로그래밍(이강성저)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>Language/python</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/462</guid>
      <comments>https://simplesolace.tistory.com/entry/python-%EB%AA%85%EB%A0%B9%ED%96%89-%EC%98%B5%EC%85%98-%EC%B2%98%EB%A6%AC%EB%B6%84%EB%A6%AC-getopt-%ED%95%A8%EC%88%98#entry462comment</comments>
      <pubDate>Fri, 12 Jun 2015 15:05:25 +0900</pubDate>
    </item>
    <item>
      <title>[python] 파이썬 if-elif-else 문 / for문 / while문</title>
      <link>https://simplesolace.tistory.com/entry/python-%ED%8C%8C%EC%9D%B4%EC%8D%AC-ifelifelse-%EB%AC%B8</link>
      <description>&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;언어마다 제어문을 기술하는 방식이 조금 달라, 사용할때마다 항상 조금씩 헷갈린다!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;if ( a &amp;gt; 5 ) { } &amp;nbsp;?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;if a &amp;gt; 5 : ? 기타등등!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;헷갈릴까봐 정리하는 파이썬 구문들!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt; color: rgb(0, 0, 0);&quot;&gt;python &lt;/span&gt;&lt;span style=&quot;font-size: 14pt; color: rgb(0, 0, 0);&quot;&gt;파이썬&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt; color: rgb(0, 0, 0);&quot;&gt;if - elif - else문&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(9, 0, 255); font-size: 11pt;&quot;&gt;if 조건식1&lt;/span&gt;&lt;span style=&quot;color: rgb(9, 0, 255); font-size: 11pt;&quot;&gt;:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;문들1&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(9, 0, 255);&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;elif 조건식2:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;문들2&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; line-height: 1.5; color: rgb(51, 51, 51);&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(9, 0, 255); font-size: 11pt;&quot;&gt;else:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 1.5; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;문들&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(159, 211, 49); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;n&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt; = -2&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;if n &amp;gt; 0:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; print 'Positive'&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;elif n &amp;lt; 0:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; print 'Negative'&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;else:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; print 'Zero'&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt; color: rgb(0, 0, 0);&quot;&gt;python&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt; color: rgb(0, 0, 0);&quot;&gt;파이썬 for문&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;for &amp;lt;타겟&amp;gt; &amp;nbsp;in&amp;lt;객체&amp;gt;:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;문1&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;else:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;문2&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(159, 211, 49); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;lists = ['rabbit', 'iPad', 'people']&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;for item in lists:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; print item&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;python 파이썬 while문!&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;while &amp;lt;조건식&amp;gt;:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;문1&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;else:&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;문2&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(159, 211, 49); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;count = 1&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;while count &amp;lt; 11:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; print count,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; count = count + 1&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;출처: 열혈강의 파이썬(이강성 저)&lt;/p&gt;</description>
      <category>Language/python</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/461</guid>
      <comments>https://simplesolace.tistory.com/entry/python-%ED%8C%8C%EC%9D%B4%EC%8D%AC-ifelifelse-%EB%AC%B8#entry461comment</comments>
      <pubDate>Fri, 12 Jun 2015 14:29:45 +0900</pubDate>
    </item>
    <item>
      <title>[python] datetime 1 days ago, 1일전 표현하기</title>
      <link>https://simplesolace.tistory.com/entry/python-datetime-1-days-ago-1%EC%9D%BC%EC%A0%84-%ED%91%9C%ED%98%84%ED%95%98%EA%B8%B0</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&lt;b&gt;python에서 1 days ago를 표현하려면 어떻게 해야할까?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;또 1 days ago를 구한 후, 원하는 포맷으로 출력하려면 어떻게 해야할까?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;python 인터프리터 모드에서의 예&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(159, 211, 49); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 14.6666669845581px; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(9, 0, 255);&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(9, 0, 255);&quot;&gt; import datetime&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14.6666669845581px; line-height: 22px;&quot;&gt;&lt;span style=&quot;font-size: 14.6666669845581px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(9, 0, 255);&quot;&gt;&amp;gt;&amp;gt;&amp;gt; days_ago = &lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(9, 0, 255);&quot;&gt;datetime.datetime.now()&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(9, 0, 255);&quot;&gt; -&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(9, 0, 255);&quot;&gt; datetime.timedelta(days=1)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 12pt; line-height: 22px; color: rgb(9, 0, 255);&quot;&gt;&lt;b&gt;&amp;gt;&amp;gt;&amp;gt; print days_ago.strftime(&quot;%Y-%m-%d, %H:%M:%S&quot;)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 12pt; line-height: 22px; color: rgb(9, 0, 255);&quot;&gt;&lt;b&gt;2015-06-05, 12:17:47&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;이때 datetime.now()는 datetime.today()로 써도 본 예제에서는 무방하다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;datetime.today() &amp;nbsp; 현재 지방 기준의 datetime 객체 생성&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;datetime.now([tz]) 현재 지방기준의 datetime 객체를 생성한다.(시간대 정보가 특별히 입력되지 않으면 플랫폼의 시간을 사용)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; line-height: 1.5;&quot;&gt;&amp;gt;strftime(format) : 지정된 포맷에 맞춰 date 객체의 정보를 문자열로 반환&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;table class=&quot;txc-table&quot; width=&quot;674&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; style=&quot;border:none;border-collapse:collapse;;font-family:돋움;font-size:12px&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;지시자&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;내용&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%y&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;연도를 축약('15')&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%Y&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;연도를 축약하지 않고 표시('2015')&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%m&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;숫자로 표현한 월(01~12)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%b&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;축약된 월이름('Apr')&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width: 337px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;%B&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width: 337px; height: 24px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); border-right-width: 1px; border-right-style: solid; border-right-color: rgb(204, 204, 204);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;축약되지 않은 월이름('April')&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%d&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;일(01~31)&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%j&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;1월 1일부터 누적된 날짜(001~366)&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%a&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;축약된 요일 이름('Mon')&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%A&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;축약되지 않은 요일 이름('Monday')&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;table class=&quot;txc-table&quot; width=&quot;674&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; style=&quot;border:none;border-collapse:collapse;;font-family:돋움;font-size:12px&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%w&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;요일을 숫자로 표시&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;(0:일, 1:월, 2:화, 3:수, 4:목, 5:금, 6:토)&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%H&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;24시를 기준 시(00~23)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%I&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;12시를 기준 시(01~12)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%M&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;분(00~59)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%S&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;초(00~60)&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;border-left:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;%p&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;
&lt;td style=&quot;width:337;height:24;border-bottom:1px solid #ccc;border-right:1px solid #ccc;;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;오전(AM)/오후(PM) 표시('PM')&lt;/span&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(51, 51, 51);&quot;&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <category>Language/python</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/460</guid>
      <comments>https://simplesolace.tistory.com/entry/python-datetime-1-days-ago-1%EC%9D%BC%EC%A0%84-%ED%91%9C%ED%98%84%ED%95%98%EA%B8%B0#entry460comment</comments>
      <pubDate>Sat, 6 Jun 2015 12:34:02 +0900</pubDate>
    </item>
    <item>
      <title>프로그램 모드로 수행하기, 파이썬 모듈 독립적 실행, __name__ == __main__</title>
      <link>https://simplesolace.tistory.com/entry/%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8-%EB%AA%A8%EB%93%9C%EB%A1%9C-%EC%88%98%ED%96%89%ED%95%98%EA%B8%B0-%ED%8C%8C%EC%9D%B4%EC%8D%AC-%EB%AA%A8%EB%93%88-%EB%8F%85%EB%A6%BD%EC%A0%81-%EC%8B%A4%ED%96%89-name-main</link>
      <description>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(9, 0, 255);&quot;&gt;모든 파이썬 모듈은 독립적으로 수행될 수도 있고,&lt;/span&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;다른 모듈에 의해 호출될 수도 있다!&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;이때 지금 모듈이 가장먼저 수행되는 최상위 모듈인지,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;아니면 다른 모듈에 의해 임포트 되는 모듈인지 구별하기 위해!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;__name__ 이라는 내장이름&lt;/span&gt;&lt;/b&gt;을 가지고 있다.!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51);&quot;&gt;인터프리터 모드에 의해 수행해 보면&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51);&quot;&gt;다&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51);&quot;&gt;른 모듈에 의해 임포트 되는 모듈의 경우 일반적으로 자신의 모듈 이름을 가진다!&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51);&quot;&gt;&amp;gt;&amp;gt;&amp;gt; import urllib2&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51);&quot;&gt;&amp;gt;&amp;gt;&amp;gt; urllib2.__name__&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51);&quot;&gt;'urllib2'&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51);&quot;&gt;&amp;gt;&amp;gt;&amp;gt; import os&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51);&quot;&gt;&amp;gt;&amp;gt;&amp;gt; os.__name__&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6666669845581px; line-height: 22px;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;'os'&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;그럼, 아래 파일을 실행해 보겠다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14.6666669845581px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51);&quot;&gt;name.py&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(159, 211, 49); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);&quot;&gt;#!/bin/python&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;print __name__&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);&quot;&gt;$ python name.py&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;__main__&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; line-height: 1.5; color: rgb(51, 51, 51);&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;name.py가 프로그램 모드로 수행되면 __name__은 '__main__'이란 이름을 가진다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;가장 먼저 파이썬 인터프리터에 의해 사용되는 모듈이 __main__ 이란 이름을 가진다는 것을 이용하면&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;아래와 같은 방식으로 특정 코드를 선택적으로 실행하게 할 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;다른 모듈에 의해 임포트 될 때는 수행되지 않는다.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;#!/bin/python&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 1.5; color: rgb(51, 51, 51);&quot;&gt;def print():&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(51, 51, 51);&quot;&gt;&amp;nbsp; &amp;nbsp; print 'Hi'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14pt; line-height: 1.5; color: rgb(255, 0, 0);&quot;&gt;&lt;b&gt;if __name__ == '__main__'&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt; line-height: 1.5; color: rgb(255, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp; printf()&lt;/span&gt;&lt;span style=&quot;font-size: 14pt; line-height: 1.5; color: rgb(255, 0, 0);&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;출처 : 프리렉 이강성의 열혈강의 파이썬 ver.2&lt;/p&gt;</description>
      <category>Language/python</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/459</guid>
      <comments>https://simplesolace.tistory.com/entry/%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8-%EB%AA%A8%EB%93%9C%EB%A1%9C-%EC%88%98%ED%96%89%ED%95%98%EA%B8%B0-%ED%8C%8C%EC%9D%B4%EC%8D%AC-%EB%AA%A8%EB%93%88-%EB%8F%85%EB%A6%BD%EC%A0%81-%EC%8B%A4%ED%96%89-name-main#entry459comment</comments>
      <pubDate>Fri, 5 Jun 2015 15:20:40 +0900</pubDate>
    </item>
    <item>
      <title>[컴파일] /user/bin/ld:warning ... (try using -rpath or -rpath-link) 이슈</title>
      <link>https://simplesolace.tistory.com/entry/%EC%BB%B4%ED%8C%8C%EC%9D%BC-userbinldwarning-try-using-rpath-or-rpathlink-%EC%9D%B4%EC%8A%88-1</link>
      <description>&lt;p&gt;&lt;span style=&quot;font-size: 12pt; line-height: 1.5; color: rgb(0, 0, 0);&quot;&gt;최근에 컴파일 중 발생한 이슈였다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(243, 197, 52); padding: 10px; background-color: rgb(254, 254, 184);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;/user/bin/ld: warning: lA.so.0, needed by lA.so, not found &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;b&gt;(try using -rpath or -rpath-link)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;collect2: ld returned 1 exit status&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;make: *** [test.out] 오류 1&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;컴파일러가 친절히 using -rpath or -rpath-link를 사용하라고 안내해 줬지만,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;궁금한 점이 있어 조금 더 찾아봤다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt; line-height: 1.5;&quot;&gt;우선 $LD_LIBRARY_PATH에 lA.so가 들어있는 path를 잡아줬더니 저 문구가 뜨지 않고 정상적으로 컴파일 되었다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(243, 197, 52); padding: 10px; background-color: rgb(254, 254, 184);&quot;&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 16px; line-height: 24px; background-color: rgb(255, 255, 255);&quot;&gt;&amp;nbsp;export LD_LIBRARY_PATH={lA.so가들어있는디렉토리패스}:$LD_LIBRARY_PATH&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt; line-height: 1.5;&quot;&gt;그 이유를 살펴보니 다음과 같았다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;color: rgb(0, 0, 0); font-size: 12pt; line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;○ 링커들은 다음과 같은 검색경로들을 사용해서 공유 라이브러리들을 찾는다.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;1. -rpath-link 옵션들에 의해 지정된 임의의 디렉터리들&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;2. -rpath 옵션들에 의해 지정된 임의의 디렉터리들.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;3. ELF 시스템에서 -rpath와 -rpath-link 옵션들이 사용되지 않으면 LD_RUN_PATH환경변수를 참조한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(9, 0, 255);&quot;&gt;&lt;b&gt;4. 원시(native)링커의 경우 환경 변수 LD_LIBRARY_PATH의 내용을 참고한다.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;5. 디폴트 디렉터리들, 일반적으로 '/lib'와 '/user/lib'.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt; line-height: 1.5;&quot;&gt;&amp;gt;&amp;gt; 요구된 공유 라이브러리가 발견되지 않으면 링커는 경고를 발생하고 링크를 계속한다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14pt; color: rgb(0, 0, 0);&quot;&gt;※ -rpath와 -rpath-link옵션의 차이&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;-rpath&lt;/b&gt;옵션들로 지정된 디렉터리들은 &lt;b&gt;실행파일안에 포함되고 실행시 사용&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;-rpath-link&lt;/b&gt; 옵션은 단지 &lt;b&gt;링크할 때만 영향을 미친다.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;현재 개발하고 있는 프로그램의 경우, 동작시 LD_LIBRARY_PATH에 링크를 export해 사용하므로,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;-rpath-link옵션을 추가해 사용해 주었다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;color: rgb(9, 0, 255); font-size: 14pt; line-height: 24px; background-color: rgb(255, 255, 255);&quot;&gt;-Wl,-rpath-link,{lA.so가들어있는디렉토리패스}&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;단 사용할 때 -Wl,-rpath-link 로 사용해 주어야 하는데 그 이유는,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 16px; line-height: 24px; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;-Wl옵션은 gcc를 거치지 않고 바로 링커에 옵션을 전하려 할 때 사용한다.&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 24px;&quot;&gt;&amp;nbsp;-Wl,option&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 24px;&quot;&gt;&amp;nbsp; &lt;b&gt;&amp;nbsp;Pass option as an option to the linker. &lt;/b&gt;&amp;nbsp;If option contains commas, it is split into&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 24px;&quot;&gt;&amp;nbsp; multiple options at the commas. &amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 24px;&quot;&gt;&amp;nbsp; You can use this syntax to pass an argument to the option.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 24px;&quot;&gt;&amp;nbsp; For example, -Wl,-Map,output.map passes -Map output.map to the linker. &amp;nbsp;When using the GNU&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 24px;&quot;&gt;&amp;nbsp; linker, you can also get the same effect with -Wl,-Map=output.map.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;div&gt;출처 : g++ man page&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 16px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 12pt; line-height: 1.5;&quot;&gt;해당 옵션들에 대한 자세한 설명들은 아래와 같다.(참조)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;-rpath dir&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;디렉터리를 실시간 라이브러리 검색 경로에 추가한다. 이것은 ELF 실행 파일을 공유 오브젝트들과 링크할 때 사용된다. 모든 -rpath 매개변수들은 조합되어 실시간 링커에게 전달된다. 그러면 이것은 그들을 사용해서 실시간에 공유 오브젝트들을 찾는다. -rpath 옵션은 또한 링크에서 명시적으로 포함된 공유 오브젝트들에 의해서 필요한 공유 오브젝트들을 찾을 때도 사용된다; -rpath-link 옵션의 설명을 보자. -rpath가 ELF 실행파일을 링크할 때 사용되지 않으면 환경 변수 LD_RUN_PATH의 내용물이, 정의되었다면, 사용될 것이다. -rpath 옵션은 SunOS에서도 사용될 수 있다. 디폴트로 SunOS에서 링커는 주어진 -L 옵션들 중에서 실시간 검색 패치(patch)를 구성할 것이다. -rpath 옵션이 사용되면 실시간 검색 경로는 -rpath 옵션들을 명시적으로 사용하여 구성될 것이고 -L 옵션들을 무시할 것이다. 이것은 NFC 마운트된 파일시스템들로부터 가져온 것일 수 있는, 많은 -L 옵션들을 더하는 gcc를 사용할 때 유용할 수 있다. ELF 링커들과의 호환성을 위해서 파일 이름이 아니라, 디렉터리 이름 뒤에 따라 붙은 -R 옵션이 주어지면 이것은 -rpath 옵션으로 취급된다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;-rpath-link DIR&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 12pt; color: rgb(0, 0, 0);&quot;&gt;ELF 또는 SunOS를 사용할 때 한가지 공유 라이브러리는 다른 것을 요구할 수도 있다. 이것은 ld -shared 링크가 입력 파일들 중의 하나로써 공유 라이브러리를 포함할 때 일어난다. 링커가 비-공유, 비-재배치 링크를 수행할 때 그런 종속성을 만나면 자동으로 요구된 공유 라이브러리를 찾으려고 하고 명시적으로 포함되지 않았다면 그것을 링크에 포함시킨다. 그런 경우 -rpath-link 옵션은 검색할 첫번째 디렉터리들을 지정한다. -rpath-link 옵션은 콜론(:)으로 분리된 이름들 리스트를 지정함으로써 또는 여러번 나타남으로써 디렉터리 이름의 순서를 지정할 수도 있다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;참고자료 :&amp;nbsp;http://korea.gnu.org/manual/release/ld/ld-sjp/ld-ko_2.html&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;-rpath=dir&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Add a directory to the runtime library search path. &amp;nbsp;This is used when linking an ELF&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;executable with shared objects. &amp;nbsp;All -rpath arguments are concatenated and passed to the&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;runtime linker, which uses them to locate shared objects at runtime. &amp;nbsp;The -rpath option is&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;also used when locating shared objects which are needed by shared objects explicitly&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;included in the link; see the description of the -rpath-link option. &amp;nbsp;If -rpath is not used&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;when linking an ELF executable, the contents of the environment variable &quot;LD_RUN_PATH&quot; will&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;be used if it is defined.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The -rpath option may also be used on SunOS. &amp;nbsp;By default, on SunOS, the linker will form a&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;runtime search patch out of all the -L options it is given. &amp;nbsp;If a -rpath option is used, the&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;runtime search path will be formed exclusively using the -rpath options, ignoring the -L&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options. &amp;nbsp;This can be useful when using gcc, which adds many -L options which may be on NFS&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mounted file systems.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For compatibility with other ELF linkers, if the -R option is followed by a directory name,&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rather than a file name, it is treated as the -rpath option.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-rpath-link=dir&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;When using ELF or SunOS, one shared library may require another. &amp;nbsp;This happens when an &quot;ld&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-shared&quot; link includes a shared library as one of the input files.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;When the linker encounters such a dependency when doing a non-shared, non-relocatable link,&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;it will automatically try to locate the required shared library and include it in the link,&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if it is not included explicitly. &amp;nbsp;In such a case, the -rpath-link option specifies the&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;first set of directories to search. &amp;nbsp;The -rpath-link option may specify a sequence of&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;directory names either by specifying a list of names separated by colons, or by appearing&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;multiple times.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;This option should be used with caution as it overrides the search path that may have been&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hard compiled into a shared library. In such a case it is possible to use unintentionally a&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;different search path than the runtime linker would do.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The linker uses the following search paths to locate required shared libraries:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1. &amp;nbsp;Any directories specified by -rpath-link options.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2. &amp;nbsp;Any directories specified by -rpath options. &amp;nbsp;The difference between -rpath and&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-rpath-link is that directories specified by -rpath options are included in the&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;executable and used at runtime, whereas the -rpath-link option is only effective at link&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;time. Searching -rpath in this way is only supported by native linkers and cross linkers&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;which have been configured with the --with-sysroot option.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3. &amp;nbsp;On an ELF system, for native linkers, if the -rpath and -rpath-link options were not&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;used, search the contents of the environment variable &quot;LD_RUN_PATH&quot;.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4. &amp;nbsp;On SunOS, if the -rpath option was not used, search any directories specified using -L&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;options.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5. &amp;nbsp;For a native linker, the search the contents of the environment variable&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&quot;LD_LIBRARY_PATH&quot;.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6. &amp;nbsp;For a native ELF linker, the directories in &quot;DT_RUNPATH&quot; or &quot;DT_RPATH&quot; of a shared&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;library are searched for shared libraries needed by it. The &quot;DT_RPATH&quot; entries are&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ignored if &quot;DT_RUNPATH&quot; entries exist.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7. &amp;nbsp;The default directories, normally /lib and /usr/lib.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8. &amp;nbsp;For a native linker on an ELF system, if the file /etc/ld.so.conf exists, the list of&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;directories found in that file.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If the required shared library is not found, the linker will issue a warning and continue&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;with the link.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;(ld man page)&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>리눅스</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/458</guid>
      <comments>https://simplesolace.tistory.com/entry/%EC%BB%B4%ED%8C%8C%EC%9D%BC-userbinldwarning-try-using-rpath-or-rpathlink-%EC%9D%B4%EC%8A%88-1#entry458comment</comments>
      <pubDate>Thu, 4 Jun 2015 15:59:18 +0900</pubDate>
    </item>
    <item>
      <title>시스템 제어문자</title>
      <link>https://simplesolace.tistory.com/entry/%EC%8B%9C%EC%8A%A4%ED%85%9C-%EC%A0%9C%EC%96%B4%EB%AC%B8%EC%9E%90</link>
      <description>&lt;p&gt;출처 : http://ko.wikipedia.org/wiki/%EC%A0%9C%EC%96%B4_%EB%AC%B8%EC%9E%90&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://ko.wikipedia.org/wiki/%EC%BB%B4%ED%93%A8%ED%8C%85&quot; title=&quot;컴퓨팅&quot; style=&quot;color: rgb(11, 0, 128); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;컴퓨팅&lt;/a&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&amp;nbsp;및&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://ko.wikipedia.org/wiki/%EC%A0%84%EC%9E%90%ED%86%B5%EC%8B%A0&quot; title=&quot;전자통신&quot; class=&quot;mw-redirect&quot; style=&quot;color: rgb(11, 0, 128); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;전자통신&lt;/a&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&amp;nbsp;환경에서&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;제어 문자&lt;/b&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&amp;nbsp;또는&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;비인쇄 문자&lt;/b&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;는&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://ko.wikipedia.org/wiki/%EB%AC%B8%EC%9E%90_%EC%A7%91%ED%95%A9&quot; title=&quot;문자 집합&quot; class=&quot;mw-redirect&quot; style=&quot;color: rgb(11, 0, 128); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;문자 집합&lt;/a&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;의 특별한 문자가 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h2 style=&quot;color: black; margin: 1em 0px 0.25em; overflow: hidden; padding: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(170, 170, 170); font-family: 'Linux Libertine', Georgia, Times, serif; line-height: 1.3; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;.EC.95.84.EC.8A.A4.ED.82.A4.EC.97.90.EC.84.9C.EC.9D.98_.EC.A0.9C.EC.96.B4_.EB.AC.B8.EC.9E.90&quot;&gt;아스키에서의 제어 문자&lt;/span&gt;&lt;span class=&quot;mw-editsection&quot; style=&quot;-webkit-user-select: none; font-size:10pt; font-weight: normal; margin-left: 1em; vertical-align: baseline; line-height: 1em; display: inline-block; white-space: nowrap; unicode-bidi: -webkit-isolate; font-family: sans-serif;&quot;&gt;&lt;span class=&quot;mw-editsection-bracket&quot; style=&quot;margin-right: 0px; color: rgb(85, 85, 85); margin-left: 0px;&quot;&gt;[&lt;/span&gt;&lt;a href=&quot;http://ko.wikipedia.org/w/index.php?title=%EC%A0%9C%EC%96%B4_%EB%AC%B8%EC%9E%90&amp;amp;action=edit&amp;amp;section=1&quot; title=&quot;부분 편집: 아스키에서의 제어 문자&quot; style=&quot;color: rgb(11, 0, 128); background: none;&quot;&gt;편집&lt;/a&gt;&lt;span class=&quot;mw-editsection-bracket&quot; style=&quot;margin-left: 0px; color: rgb(85, 85, 85); margin-right: 0px;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;ul style=&quot;line-height: 1.5em; margin: 0.3em 0px 0px 1.6em; padding: 0px; list-style-image: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%225%22%20height%3D%2213%22%3E%0A%3Ccircle%20cx%3D%222.5%22%20cy%3D%229.5%22%20r%3D%222.5%22%20fill%3D%22%2300528c%22%2F%3E%0A%3C%2Fsvg%3E%0A); color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px;&quot;&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;0 (&lt;a href=&quot;http://ko.wikipedia.org/wiki/%EB%84%90_%EB%AC%B8%EC%9E%90&quot; title=&quot;널 문자&quot; style=&quot;color: rgb(11, 0, 128); background: none;&quot;&gt;널&lt;/a&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;NUL&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;\0&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;^@&lt;/code&gt;)&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;7 (&lt;a href=&quot;http://ko.wikipedia.org/w/index.php?title=%EB%B2%A8_%EB%AC%B8%EC%9E%90&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;벨 문자 (없는 문서)&quot; style=&quot;color: rgb(165, 88, 88); background: none;&quot;&gt;벨&lt;/a&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;BEL&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;\a&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;^G&lt;/code&gt;)&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;8 (&lt;a href=&quot;http://ko.wikipedia.org/wiki/%EB%B0%B1%EC%8A%A4%ED%8E%98%EC%9D%B4%EC%8A%A4&quot; title=&quot;백스페이스&quot; style=&quot;color: rgb(11, 0, 128); background: none;&quot;&gt;백스페이스&lt;/a&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;BS&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;\b&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;^H&lt;/code&gt;)&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;9 (&lt;a href=&quot;http://ko.wikipedia.org/wiki/%ED%83%AD_%ED%82%A4&quot; title=&quot;탭 키&quot; class=&quot;mw-redirect&quot; style=&quot;color: rgb(11, 0, 128); background: none;&quot;&gt;수평 탭&lt;/a&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;HT&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;\t&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;^I&lt;/code&gt;)&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;10 (&lt;a href=&quot;http://ko.wikipedia.org/wiki/%EC%83%88_%EC%A4%84&quot; title=&quot;새 줄&quot; class=&quot;mw-redirect&quot; style=&quot;color: rgb(11, 0, 128); background: none;&quot;&gt;라인 피드&lt;/a&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;LF&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;\n&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;^J&lt;/code&gt;)&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;12 (&lt;a href=&quot;http://ko.wikipedia.org/w/index.php?title=%ED%8E%98%EC%9D%B4%EC%A7%80_%EB%82%98%EB%88%84%EA%B8%B0&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;페이지 나누기 (없는 문서)&quot; style=&quot;color: rgb(165, 88, 88); background: none;&quot;&gt;폼 피드&lt;/a&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;FF&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;\f&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;^L&lt;/code&gt;)&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;13 (&lt;a href=&quot;http://ko.wikipedia.org/wiki/%EC%BA%90%EB%A6%AC%EC%A7%80_%EB%A6%AC%ED%84%B4&quot; title=&quot;캐리지 리턴&quot; style=&quot;color: rgb(11, 0, 128); background: none;&quot;&gt;캐리지 리턴&lt;/a&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;CR&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;\r&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;^M&lt;/code&gt;)&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;27 (&lt;a href=&quot;http://ko.wikipedia.org/w/index.php?title=%EC%9D%B4%EC%8A%A4%EC%BC%80%EC%9D%B4%ED%94%84_%EB%AC%B8%EC%9E%90&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;이스케이프 문자 (없는 문서)&quot; style=&quot;color: rgb(165, 88, 88); background: none;&quot;&gt;이스케이프&lt;/a&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;ESC&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;\e&lt;/code&gt;&amp;nbsp;[GCC only],&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;^[&lt;/code&gt;).&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;127 (&lt;a href=&quot;http://ko.wikipedia.org/w/index.php?title=%EC%82%AD%EC%A0%9C_%EB%AC%B8%EC%9E%90&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;삭제 문자 (없는 문서)&quot; style=&quot;color: rgb(165, 88, 88); background: none;&quot;&gt;삭제&lt;/a&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;DEL&lt;/code&gt;,&amp;nbsp;&lt;code style=&quot;font-family: monospace, Courier; color: black; border: 1px solid rgb(221, 221, 221); border-radius: 2px; padding: 1px 4px; background-color: rgb(249, 249, 249);&quot;&gt;^?&lt;/code&gt;)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2 style=&quot;color: black; margin: 1em 0px 0.25em; overflow: hidden; padding: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(170, 170, 170); font-family: 'Linux Libertine', Georgia, Times, serif; line-height: 1.3; background-image: none; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;&quot;&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;.EC.A0.9C.EC.96.B4_.EB.AC.B8.EC.9E.90.ED.91.9C&quot;&gt;제어 문자표&lt;/span&gt;&lt;span class=&quot;mw-editsection&quot; style=&quot;-webkit-user-select: none; font-size:10pt; font-weight: normal; margin-left: 1em; vertical-align: baseline; line-height: 1em; display: inline-block; white-space: nowrap; unicode-bidi: -webkit-isolate; font-family: sans-serif;&quot;&gt;&lt;span class=&quot;mw-editsection-bracket&quot; style=&quot;margin-right: 0px; color: rgb(85, 85, 85); margin-left: 0px;&quot;&gt;[&lt;/span&gt;&lt;a href=&quot;http://ko.wikipedia.org/w/index.php?title=%EC%A0%9C%EC%96%B4_%EB%AC%B8%EC%9E%90&amp;amp;action=edit&amp;amp;section=2&quot; title=&quot;부분 편집: 제어 문자표&quot; style=&quot;color: rgb(11, 0, 128); background: none;&quot;&gt;편집&lt;/a&gt;&lt;span class=&quot;mw-editsection-bracket&quot; style=&quot;margin-left: 0px; color: rgb(85, 85, 85); margin-right: 0px;&quot;&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;table class=&quot;wikitable&quot; style=&quot;font-size: 14px; margin: 1em 0px; border: 1px solid rgb(170, 170, 170); border-collapse: collapse; color: black; font-family: sans-serif; line-height: 22.3999996185303px; background-color: rgb(249, 249, 249);&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em; text-align: center; background-color: rgb(242, 242, 242);&quot;&gt;2진법&lt;/th&gt;&lt;th style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em; text-align: center; background-color: rgb(242, 242, 242);&quot;&gt;10진법&lt;/th&gt;&lt;th style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em; text-align: center; background-color: rgb(242, 242, 242);&quot;&gt;8진법&lt;/th&gt;&lt;th style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em; text-align: center; background-color: rgb(242, 242, 242);&quot;&gt;16진법&lt;/th&gt;&lt;th style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em; text-align: center; background-color: rgb(242, 242, 242);&quot;&gt;문자&lt;/th&gt;&lt;th style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em; text-align: center; background-color: rgb(242, 242, 242);&quot;&gt;설명&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 0000&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;000&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;000&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;00&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;NUL&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;NULL 문자&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 0001&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;001&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;001&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;01&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;SOH&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;헤더 시작(Start Of Header)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 0010&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;002&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;002&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;02&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;STX&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;본문 시작, 헤더 종료(Start of TeXt)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 0011&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;003&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;003&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;03&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;ETX&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;본문 종료(End of TeXt)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 0100&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;004&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;004&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;04&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;EOT&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;전송 종료, 데이터 링크 초기화(End Of Transmission)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 0101&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;005&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;005&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;05&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;ENQ&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;응답 요구(ENQuiry)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 0110&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;006&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;006&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;06&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;ACK&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;긍정응답(ACKnowledge)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 0111&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;007&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;007&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;07&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;BEL&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;경고음(BELl)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 1000&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;008&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;010&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;08&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;BS&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;백스페이스(BackSpace)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 1001&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;009&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;011&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;09&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;HT&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;수평 탭(Horizontal Tab)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 1010&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;010&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;012&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0A&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;LF&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;개행(Line Feed)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 1011&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;011&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;013&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0B&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;VT&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;수직 탭(Vertical Tab)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 1100&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;012&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;014&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0C&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;FF&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;다음 페이지(Form Feed)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 1101&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;013&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;015&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0D&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;CR&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;복귀(Carriage Return)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 1110&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;014&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;016&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0E&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;SO&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;확장문자 시작(Shift Out)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0000 1111&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;015&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;017&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0F&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;SI&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;확장문자 종료(Shift In)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 0000&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;016&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;020&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;10&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;DLE&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;전송제어 확장(Data Link Escape)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 0001&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;017&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;021&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;11&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;DC1&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;장치 제어(Device Control 1)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 0001&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;018&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;022&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;12&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;DC2&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;장치 제어(Device Control 2)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 0001&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;019&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;023&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;13&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;DC3&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;장치 제어(Device Control 3)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 0001&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;020&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;024&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;14&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;DC4&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;장치 제어(Device Control 4)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 0101&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;021&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;025&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;15&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;NAK&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;부정응답(Negative AcKnowledge)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 0110&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;022&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;026&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;16&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;SYN&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;동기(SYNnchronous idle)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 0111&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;023&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;027&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;17&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;ETB&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;전송블록 종료(End of Transmission Block)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 1000&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;024&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;030&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;18&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;CAN&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;취소(CANcel)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 1001&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;025&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;031&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;19&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;EM&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;매체 종료(End of Medium)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 1010&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;026&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;032&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;1A&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;SUB&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;치환(SUBstitute)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 1011&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;027&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;033&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;1B&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;ESC&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;제어기능 추가(ESCape)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 1100&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;028&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;034&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;1C&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;FS&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;파일경계 할당(File Seperator)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 1101&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;029&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;035&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;1D&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;GS&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;레코드 그룹경계 할당(Group Seperator)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 1110&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;030&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;036&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;1E&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;RS&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;레코드경계 할당(Record Seperator)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;0001 1111&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;031&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;037&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;1F&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;US&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(170, 170, 170); padding: 0.3em 0.4em;&quot;&gt;장치경계 할당(Unit Seperator)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;나는 이 제어문자를 비 인쇄문자 측면으로 조명해 보고 싶은데!(지금!)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#252525&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;이 비인쇄 문자들은 하나의 라인에 여러 항목들을 담을때 구분자로 쓰기 적당하다!&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(159, 211, 49); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;&lt;font color=&quot;#252525&quot; face=&quot;sans-serif&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px; background-color: rgb(255, 255, 255);&quot;&gt;http://www.naver.com&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;&lt;b&gt;^G&lt;/b&gt;&lt;/span&gt;http://www.google.com&lt;b&gt;&lt;span style=&quot;color: rgb(9, 0, 255);&quot;&gt;^G&lt;/span&gt;&lt;/b&gt;http://www.daum.net&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px; color: rgb(37, 37, 37); font-family: sans-serif;&quot;&gt;이렇게 한줄로 연결되 있는경우 제어문자를 사용하여 split해서 쓸 수 있다.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description>
      <category>운영체제</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/455</guid>
      <comments>https://simplesolace.tistory.com/entry/%EC%8B%9C%EC%8A%A4%ED%85%9C-%EC%A0%9C%EC%96%B4%EB%AC%B8%EC%9E%90#entry455comment</comments>
      <pubDate>Sat, 11 Apr 2015 15:52:54 +0900</pubDate>
    </item>
    <item>
      <title>복사생성자가 호출되는 시점</title>
      <link>https://simplesolace.tistory.com/entry/%EB%B3%B5%EC%82%AC%EC%83%9D%EC%84%B1%EC%9E%90%EA%B0%80-%ED%98%B8%EC%B6%9C%EB%90%98%EB%8A%94-%EC%8B%9C%EC%A0%90-1</link>
      <description>&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(0, 0, 0);&quot;&gt;복사생성자가 호출되는 시점은 언제일까?&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(0, 0, 0);&quot;&gt;복사생성자&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(0, 0, 0);&quot;&gt;: 자기 자신과 같은 형태의(자료형의) 객체를 인자로 받을 수 있는 생성자를 복사생성자라고 한다.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(231, 253, 181); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px; color: rgb(0, 0, 0);&quot;&gt;AAA(const AAA&amp;amp; a)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;span style=&quot;font-size: 11pt; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;1. 기존에 생성된 객체로 새로운 객체를 초기화하는 경우&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(254, 222, 199); padding: 10px; background-color: rgb(254, 222, 199);&quot;&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt; line-height: 1.5;&quot;&gt;int main()&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp;Person p1;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp;Person p2=p1; &amp;nbsp;//기존에 생성된 객체로 새로운 객체 초기화&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;2. 함수 호출 시 객체를 값에 의해 전달하는 경우&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(254, 222, 199); padding: 10px; background-color: rgb(254, 222, 199);&quot;&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt; line-height: 1.5;&quot;&gt;void func(Person p)&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 14pt; color: rgb(0, 0, 0);&quot;&gt;&lt;b&gt;3. 함수 내에서 객체를 값에 의해 리턴하는 경우&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(254, 222, 199); padding: 10px; background-color: rgb(254, 222, 199);&quot;&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt; line-height: 1.5;&quot;&gt;Person fun2()&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp;Person p;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;nbsp; &amp;nbsp;return p;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;&amp;gt;&amp;gt; 부록&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;디폴트 복사 새성자 존재&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;디폴트 복사 생성자&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt; line-height: 1.5; color: rgb(0, 0, 0);&quot;&gt;- 자동으로 삽입되는 복사 생성자&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;: 멤버 변수대 멤버 변수의 복사를 수행&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0);&quot;&gt;출처: 열혈강의 c++프로그래밍_윤성우&lt;/span&gt;&lt;/p&gt;</description>
      <category>Language/C++</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/453</guid>
      <comments>https://simplesolace.tistory.com/entry/%EB%B3%B5%EC%82%AC%EC%83%9D%EC%84%B1%EC%9E%90%EA%B0%80-%ED%98%B8%EC%B6%9C%EB%90%98%EB%8A%94-%EC%8B%9C%EC%A0%90-1#entry453comment</comments>
      <pubDate>Mon, 9 Mar 2015 21:21:09 +0900</pubDate>
    </item>
    <item>
      <title>const 함수 및 const 객체 특징, static 멤버의 특징</title>
      <link>https://simplesolace.tistory.com/entry/const-%ED%95%A8%EC%88%98-%EB%B0%8F-const-%EA%B0%9D%EC%B2%B4-%ED%8A%B9%EC%A7%95-static-%EB%A9%A4%EB%B2%84%EC%9D%98-%ED%8A%B9%EC%A7%95</link>
      <description>&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 18pt;&quot;&gt;const 함수&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;1.상수화된 함수는 상수화 되지 않은 함수의 호출을 허용x&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;2.멤버 변수의 포인터 리턴 허용 x&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 18pt;&quot;&gt;const 객체&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;1. 어떤 경로를 통해서든 멤버 변수 조작 불가능&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;2. 상수화된 멤버 함수만 호출 가능&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 18pt;&quot;&gt;static 멤버(=클래스변수)의 특징&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;1. main함수가 호출되기도 전에 메모리 공간에 올라가서 초기화 된다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp;따라서 public으로 선언이 된다면, 객체 생성 이전에도 접근이 가능하다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt; line-height: 1.5;&quot;&gt;2. 객체의 멤버로 존재하는 것이 아니다. 다만, 선언되어 있는 클래스내에서 직접 접근할 수 있는 권한이 부여된 것이다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt; line-height: 1.5;&quot;&gt;-&amp;gt; 데이터 영역에 위치&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;c++에서는 &lt;b&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 14pt;&quot;&gt;static 멤버 초기화 문법&lt;/span&gt;&lt;/b&gt;이 존재한다.&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px dashed rgb(159, 211, 49); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;class AAA&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;public:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; static int n;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;};&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(255, 0, 0); font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 18pt;&quot;&gt;int AAA::n=1;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;int main(void)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; std::cout&amp;lt;&amp;lt;AAA::n &amp;lt;&amp;lt; std::endl;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; AAA::n++;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;&amp;nbsp; &amp;nbsp; return 0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; line-height: 1.5; color: rgb(0, 0, 0);&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-size: 11pt;&quot;&gt;출처: 열혈강의 c++프로그래밍_윤성우 저&lt;/span&gt;&lt;/p&gt;</description>
      <category>Language/C++</category>
      <author>Triany</author>
      <guid isPermaLink="true">https://simplesolace.tistory.com/452</guid>
      <comments>https://simplesolace.tistory.com/entry/const-%ED%95%A8%EC%88%98-%EB%B0%8F-const-%EA%B0%9D%EC%B2%B4-%ED%8A%B9%EC%A7%95-static-%EB%A9%A4%EB%B2%84%EC%9D%98-%ED%8A%B9%EC%A7%95#entry452comment</comments>
      <pubDate>Mon, 9 Mar 2015 21:15:37 +0900</pubDate>
    </item>
  </channel>
</rss>