關於cat指令 - Linux

By Tom
at 2010-11-08T09:20
at 2010-11-08T09:20
Table of Contents
最近在練習寫script
發現當我想要用cat 印出一個file內容時
if [ $input = ? ] ; then
`cat /home/$USER/.ratings/$2/comment_$3` #print comment
我可以順利的印出內容
但是跟在output後面會有 not found 這個錯誤訊息
請問是我在使用cat這個指令時哪裡出問題了嗎
--
發現當我想要用cat 印出一個file內容時
if [ $input = ? ] ; then
`cat /home/$USER/.ratings/$2/comment_$3` #print comment
我可以順利的印出內容
但是跟在output後面會有 not found 這個錯誤訊息
請問是我在使用cat這個指令時哪裡出問題了嗎
--
Tags:
Linux
All Comments

By Edith
at 2010-11-09T15:33
at 2010-11-09T15:33

By Eden
at 2010-11-13T15:43
at 2010-11-13T15:43
Related Posts
如何移除GEMAN裡的我的最愛

By Jake
at 2010-11-08T04:45
at 2010-11-08T04:45
關於 date 指令

By Quintina
at 2010-11-08T04:37
at 2010-11-08T04:37
linux porting 的一個問題

By Daniel
at 2010-11-07T23:21
at 2010-11-07T23:21
關於(/)根目錄與(//)

By Noah
at 2010-11-07T18:06
at 2010-11-07T18:06
使用script產生目錄

By Dorothy
at 2010-11-07T17:33
at 2010-11-07T17:33