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


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


    網站導航:
     
    主站蜘蛛池模板: 亚洲AV无码乱码在线观看牲色| 狼友av永久网站免费观看| 国产精品亚洲高清一区二区| 亚洲Av无码国产一区二区| 免费黄色一级毛片| 亚洲中文字幕无码av| 日本一区二区三区日本免费| 亚洲国产日韩a在线播放| 在线jyzzjyzz免费视频| 国产亚洲欧美在线观看| 亚洲人成网站观看在线播放| 一个人看的免费高清视频日本| 亚洲综合AV在线在线播放 | 亚洲国产精品无码久久九九大片| 性xxxx视频播放免费| 国产在亚洲线视频观看| 久久久青草青青国产亚洲免观| 青柠影视在线观看免费高清| 亚洲av丰满熟妇在线播放| 4444www免费看| 亚洲国产精品网站在线播放 | 亚洲精品国产福利片| 无码人妻久久一区二区三区免费丨| 中文字幕亚洲综合小综合在线| 卡一卡二卡三在线入口免费| 亚洲av纯肉无码精品动漫| 久久国产成人亚洲精品影院| 久久精品视频免费看| 亚洲va久久久久| 国产成人亚洲精品91专区手机| 麻豆精品不卡国产免费看| 亚洲1区1区3区4区产品乱码芒果| 国产网站免费观看| 国产白丝无码免费视频| 香蕉大伊亚洲人在线观看| 亚洲日韩精品无码专区网站| 最近2019中文字幕免费大全5| 亚洲AV无码资源在线观看| 久久91亚洲人成电影网站| 免费看美女让人桶尿口| 免费久久人人爽人人爽av|