最近在練習寫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這個指令時哪裡出問題了嗎
--
All Comments