<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 閱讀(180) 評論(0)  編輯  收藏


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


    網站導航:
     
    主站蜘蛛池模板: 在线a亚洲老鸭窝天堂av高清| 亚洲高清国产拍精品26U| 亚洲精品亚洲人成在线观看麻豆| 国产黄在线播放免费观看| 国产成人精品免费视频软件| 亚洲精品日韩一区二区小说| 我想看一级毛片免费的| 亚洲女子高潮不断爆白浆| 在线观看免费a∨网站| 国产精品亚洲精品久久精品 | 曰韩无码AV片免费播放不卡| 国产jizzjizz免费视频| 瑟瑟网站免费网站入口| 亚洲成?Ⅴ人在线观看无码| 一个人看的www免费在线视频| 久久精品国产亚洲一区二区三区 | 国产免费A∨在线播放| 国产日韩成人亚洲丁香婷婷| www.xxxx.com日本免费| 亚洲成在人线av| av无码国产在线看免费网站| av无码久久久久不卡免费网站| 亚洲永久在线观看| 免费看男女下面日出水视频| 一级特黄aaa大片免费看| 久久精品国产亚洲麻豆| xx视频在线永久免费观看| 亚洲综合中文字幕无线码| 国产aa免费视频| a级毛片在线免费观看| 亚洲人成激情在线播放| 日本最新免费不卡二区在线| 一区二区视频在线免费观看| 久久青草亚洲AV无码麻豆| 在线观看特色大片免费视频| 免费精品国自产拍在线播放 | 亚洲黄黄黄网站在线观看| 久久青草国产免费观看| 国产精品亚洲精品观看不卡| www国产亚洲精品久久久日本| 在线涩涩免费观看国产精品|