<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)  編輯  收藏


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


    網站導航:
     
    主站蜘蛛池模板: 国产真实伦在线视频免费观看| 亚洲一级免费视频| 在线免费一区二区| 大地资源中文在线观看免费版 | 国产又黄又爽又大的免费视频| 中文字幕 亚洲 有码 在线 | 久久久久国产免费| 日本一区二区三区在线视频观看免费 | 国产片免费在线观看| 日韩免费一区二区三区在线播放| 中文字幕无码毛片免费看| 国产亚洲女在线线精品| 亚洲日韩中文字幕无码一区| 久久久久久亚洲精品成人| 亚洲精品~无码抽插| 国产亚洲精品线观看动态图| 曰皮全部过程视频免费国产30分钟| 国产精品久久永久免费| 久久一区二区三区免费播放| 中国毛片免费观看| 国产精品hd免费观看| 少妇亚洲免费精品| 午夜亚洲乱码伦小说区69堂| 亚洲第一成年网站视频| 亚洲国产综合AV在线观看| 亚洲人成77777在线观看网| 亚洲1234区乱码| 亚洲一级毛片免费看| 亚洲国产成人超福利久久精品| 亚洲国产美女视频| 亚洲精品在线电影| 亚洲网红精品大秀在线观看 | 91人人区免费区人人| 91高清免费国产自产拍2021| 最近最好最新2019中文字幕免费| 一级毛片在线免费看| 四虎成年永久免费网站| 在线看片v免费观看视频777| 在线观看AV片永久免费| 女人18毛片a级毛片免费视频| 毛片大全免费观看|