<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 53, 文章 - 0, 評論 - 3, 引用 - 0
    數據加載中……

    Trouble caused by un-visible blank character

    There are a few cases in which the un-visible blank character will cause
    problem, but it is hard to detect since they are not visible.

    One famous case is the '\t' character used by Make file, it is used to mark
    the start of a command. If it is replace by blank space character, it does
    not work, but you can not see the difference if you only look at the make file.
    This kind of problem may get the newbies crazy.

    Last week, I have encounter a similar issue, which is also caused by unnecessary
     blank space.
     
    As you may know, '\' is used as line-continuation when you have a very long line, e.g.
    when you configure the class path for Java in a property file, you may have something like this.

    classpath=/lib/A.jar;/lib/B.jar;\
    /lib/C.jar;/lib/D.jar;\
    /lib/E.jar;/lib/log4j.jar;\
    /lib/F.jar;/lib/httpclient.jar;

    But if you add extra blank space after the '\', then you can not get the complete
    content of classpath. Because only when '\' is followed by a '\n' on Unix or '\r''\n'
    on Windows, it will work as line-continuation ; otherwise, e.g '\' is followed by
    ' ''\n', the line is complete after the '\n', the content after that will be the start of
    a new line.

    Fortunately, it is easy to check this kind of extra blank space by using vi in Unix.
    use command '$' to go to the end of line, if there is no extra blank space after '\',
    the current position should be '\', if there are any blank space after '\', the current position
    is after the '\'.
     

    posted on 2009-07-01 11:48 InPractice 閱讀(177) 評論(0)  編輯  收藏


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 国产精品亚洲玖玖玖在线观看| 大香人蕉免费视频75| 亚洲最大激情中文字幕| 免费国产污网站在线观看不要卡| 女人被男人桶得好爽免费视频| 亚洲国产精品免费在线观看| 日韩中文字幕免费视频| 亚洲精品午夜视频| 好先生在线观看免费播放| 亚洲综合久久一本伊伊区| 最近的免费中文字幕视频| 亚洲一线产品二线产品| 国产伦一区二区三区免费 | 免费看黄网站在线看| 亚洲av手机在线观看| 一个人看的www视频免费在线观看| 亚洲无码精品浪潮| 在线观看片免费人成视频无码| 久久久久亚洲精品无码蜜桃 | 精品无码专区亚洲| 亚洲精品成人a在线观看| 99精品视频免费| 亚洲毛片无码专区亚洲乱| 成年女人看片免费视频播放器| 亚洲成a人片在线观看天堂无码| 国产精品公开免费视频| 中国在线观看免费的www| 亚洲精品国产肉丝袜久久| 国产成人精品免费视频大全五级| 一级毛片大全免费播放下载| 亚洲成A人片在线观看WWW| 青娱分类视频精品免费2| 婷婷亚洲综合一区二区 | 亚洲国产精品yw在线观看| 成人免费无码大片A毛片抽搐色欲 成人免费无码大片a毛片 | 人妻丰满熟妇无码区免费| 亚洲黄页网在线观看| 亚洲男同帅GAY片在线观看| av无码免费一区二区三区| 亚洲精品色在线网站| 亚洲国产日韩一区高清在线|