`
haohappy2
  • 浏览: 315079 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

some problem of bash shell.

 
阅读更多

character \015 (carrage return) 

 

perl -pi.bak -e "s/\r//g;" fileencode.pl

 

After run this command, the issue will be fixed

 

And also find another problem,  if you pass one parameters from one shell to another shell, if the paramter contain "blank", it will not work as normal shell

 

Solution.  php xxx.php bb.php "$argv", then exmplode $argv with blank

 

If you type parameters ,you need to type

 

findcake -title "aa bb"

 

 

 

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics