cd $1
echo `pwd`
for file in $(find -type f); do
echo $file
dos2unix $file
done
Regards,
Tao
http://standalone.yculblog.com
cd $1
echo `pwd`
for file in $(find -type f); do
echo $file
dos2unix $file
done
Regards,
Tao
使用 cut 工具,我们可以将构成文件中数据域的各个列分隔开来。默认的分隔符是制表符,-f 选项可以用来指定希望显示的域。
举例来说,假设一个文本文件 "sample" 有三列,其内容如下所示:
one two threefour five sixseven eight nineten eleven twelve |
现在执行下面的命令:
# cut -f2 sample |
这会返回:
two sixseven eleven |
如果将这个命令修改成:
# cut -f1, 3 sample |
这会返回下面的不同结果:
one threefour five eight nineten twelve |
这个命令有几个命令行选项。除了 -f 之外,我们还应该熟悉下面两个选项:
Regards,
Tao
:
空命令[冒号]. 这个命令意思是空操作(即什么操作也不做). 它一般被认为是和shell的内建命令true是一样的。冒号":" 命令是Bash自身内建的, and its它的退出状态码是真(即0)
same as "#" to put the comments or comment out the codes .
advantage to use ": " for multiple line comment out .
: '
code1
code2
code3
'
like C use "/* */" for comment out
: <<!
sas
sasa
!
Regards,
Tao
paper list for keyword search in XML
[1] Cohen, S., J. Mamou, Y. Kanza, Y. Sagiv. XSEARCH: A Semantic
Search Engine for XML. VLDB 2003.
[2] Yu Xu and Yannis Papakonstantinou. Efficient Keyword Search for Smallest LCAs in
XML Databases. In Proc. of SIGMOD, 2005.
[3] Vagelis Hristidis, Yannis Papakonstantinou, and Andrey Balmin. Keyword Proximity
Search on XML Graphs. In Proc. of ICDE, 2003.
[4] Lin Guo, Feng Shao, Chavdar Botev, and Jayavel Shanmugasundaram. XRANK: Ranked
Keyword Search over XML Documents. In Proc. of SIGMOD, 2003.
[5] Fuhr, N., Groohann, K. XIRQL: A Language for Information
Retrieval in XML Documents. SIGIR 2001.
[6] Daniela Florescu, Donald Kossmann, and Ioana Manolescu. Integrating Keyword Search
into XML Query Processing. In Proc. of IJCTN, 2000.
[7] Shurug Al-Khalifa, Cong Yu, and H. V. Jagadish. Querying Structured Text in an XML
Database. In Proc. of SIGMOD, 2003.
[8] Sara Cohen, Yaron Kanza, Benny Kimelfeld, Yehoshua Sagiv: Interconnection semantics
for keyword search in XML. CIKM 2005: 389-396
[9] Vagelis Hristidis, Nick Koudas, Yannis Papakonstantinou, Divesh Srivastava:
Keyword Proximity Search in XML Trees. IEEE Trans. Knowl. Data
[10] Andrey Balmin, Vagelis Hristidis, Nick Koudas, Yannis Papakonstantinou,
Divesh Srivastava, Tianqiu Wang: A System for Keyword Proximity Search on XML Databases.
[11] Ralf Schenkel, Martin Theobald: Structural Feedback for Keyword-Based XML Retrieval. ECIR 2006:
[12] Xiaoguang Li, Jian Gong, Daling Wang, Ge Yu: An Effective and Efficient Approach for Keyword-Based XML Retrieval. WAIM 2005: 56-67
[13] Cong Yu, H. V. Jagadish, Dragomir R. Radev: Querying XML using structures and keywords in timber. SIGIR 2003:
[14]
VLDB 2003: 1069-1072
[11] Chavdar Botev, Jayavel Shanmugasundaram: Context-Sensitive Keyword Search and Ranking for XML. WebDB 2005:
[12] Theobald, A., Weikum, G. The Index-Based XXL Search Engine for
Querying XML Data with Relevance Ranking. EDBT 2002.
[13] Florescu, D., Kossmann, D., Manolescu,
Search into XML Query Processing. WWW 2000.
paper list for dynamic XML
[1] Jeffrey Xu Yu, Daofeng Luo, Xiaofeng Meng, Hongjun Lu:
Dynamically Updating XML Data: Numbering Scheme Revisited.
World Wide Web 8(1): 5-26 (2005)
[2] Maggie Duong, Yanchun Zhang: LSDX: A New Labelling Scheme for Dynamically Updating XML Data. ADC 2005:
[3] Lau Hoi Kit, Vincent Ng: Enumerating XML Data for Dynamic Updating. ADC 2005: 75-84
[4] Yun Shen, Ling Feng, Tao Shen, Bing Wang: A Self-adaptive Scope Allocation Scheme for Labeling Dynamic XML Documents. DEXA 2004:
[5] Xiaodong Wu, Mong-Li Lee, Wynne Hsu: A Prime Number Labeling Scheme for Dynamic Ordered XML Trees. ICDE 2004: 66-78
[6] Adam Silberstein, Hao He, Ke Yi, Jun Yang: BOXes: Efficient Maintenance of Order-Based Labeling for Dynamic XML Data. ICDE 2005: 285-296
[7] Changqing Li, Tok Wang Ling, Min Hu: Efficient Processing of Updates in Dynamic XML Data. ICDE 2006: 13
[8] Edith Cohen, Haim Kaplan, Tova Milo: Labeling Dynamic XML Trees. PODS 2002: 271-281
[9] Sung Wan Kim, Jaeho Lee, Hae Chull Lim: Indexing and Retrieval of XML-Encoded Structured Documents in Dynamic Environment. EDCIS 2002:
[10]Yi Chen, George A. Mihaila, Rajesh Bordawekar, Sriram Padmanabhan: L-Tree: A Dynamic Labeling Structure for Ordered XML Data. EDBT Workshops 2004:
[11]Takeharu Eda, Yasushi Sakurai, Toshiyuki Amagasa, Masatoshi Yoshikawa, Shunsuke Uemura, Takashi Honishi: Dynamic Range Labeling for XML Trees. EDBT Workshops 2004: 230-239
[12]Hyoseop Shin, Andrei V. Popov: A Lightweight XML Repository Supporting Dynamic Partial Update of XML Data. DASFAA 2004: 220-225
[13]Changqing Li, Tok Wang Ling: An Improved Prefix Labeling Scheme: A Binary String Approach for Dynamic Ordered XML. DASFAA 2005:
[14]Damien K. Fisher, Raymond K. Wong: Adaptively Indexing Dynamic XML. DASFAA 2006:
[15]Carolyn J. Crouch, Sudip Khanna, Poorva Potnis, Nagendra Doddapaneni: The Dynamic Retrieval of XML Elements. INEX 2005: 268-281