摘要: 1. 替换一行字符串。替换第5行的内容为""shell脚本如下:#!/bin/bashpath=$1head=' 'rosPath="$head$path$tail"echo "ros new Path: $rosPath"sed -in "5s:.*:$rosPath:g" demo_offli... 阅读全文
posted @ 2015-11-27 16:19 Magnum Programm Life 阅读(184) 评论(0) 推荐(0) 编辑