shell命令 基本使用,用不来真憋死人,

sh/bash/dash/ksh/zsh等Shell脚本
回复
头像
newman0708
帖子: 188
注册时间: 2007-09-22 13:09

shell命令 基本使用,用不来真憋死人,

#1

帖子 newman0708 » 2008-01-23 11:37

keyword=$1
imagefilename=`cat /home/newman0708/doc/database/accessorylist.csv | grep $keyword `

我行不到想在结果,

就执行了cat部分的内容, grep部分好像没执行,不知道为什么,

请高手帮忙看一下,
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2008-01-23 12:03

不明白意思哦。
自己CLI跑那``的部分吧。
● 鸣学
头像
newman0708
帖子: 188
注册时间: 2007-09-22 13:09

#3

帖子 newman0708 » 2008-01-23 13:01

能行了,谢谢 ,解决了。
回复