![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
windtakers
这个作者很懒,什么都没留下…
展开
-
shell 中 if 语句内判断参数总结
<!-- @page {margin:2cm} h3 {margin-top:0.46cm; margin-bottom:0.46cm; line-height:173%; page-break-inside:avoid} h3.western {font-family:"DejaVu Serif",serif; font-size:16pt} h3.cjk转载 2013-04-10 17:26:40 · 11311 阅读 · 0 评论 -
shell 学习笔记
#!/bin/bash # shell 学习笔记 #Create a temporary file or directory, safely, and print its name. # -d, --directory create a directory, not a file export TMP_DIR='mktemp -d' # $? is used for原创 2013-06-07 09:14:56 · 1055 阅读 · 0 评论 -
shell中多行变一行的方法
http://hi.baidu.com/newhand2010/item/6ca487a9de836731030a4d9f 文本内容:$cat test.txt 001 002 003 004 005 0060000999 需要格式化成:001 002 003 004 005 006 0000999 方法一、最好的答案是waker老大提供的,就不解释了:xargs dolph转载 2013-08-03 23:22:58 · 4746 阅读 · 0 评论