JavaShuo
欄目
標籤
shell-$@ $*的區別
時間 2019-12-13
標籤
shell
區別
欄目
Unix
简体版
原文
原文鏈接
精確來說,二者只有在 soft quote 中才有差別,不然,都表示"所有參數"( $0 除外)。 若在 command line 上跑 my.sh p1 "p2 p3" p4 的話, 無論是 $@ 仍是 $* ,均可獲得 p1 p2 p3p4 就是了。 可是,若是置於 soft quote 中的話: "$@" 則可獲得"p1" "p2 p3" "p4" 這三個不一樣的詞段(word)﹔ "$*"
>>阅读原文<<
相關文章
1.
Shell $*和$@的區別
2.
login shell與non-login shell的區別
3.
bash: non-login shell和login shell的區別
4.
login shell 和 non-login shell 的區別
5.
Linux—shell中$(( ))、$( )、``與${ }的區別
6.
unix shell中(),[]和[[]]的區別
7.
shell中$*與$@的區別
8.
linux shell中'',""和``的區別
9.
shell,perl,python的區別
10.
shell中$(( ))、$( )與${ }的區別
更多相關文章...
•
SQL 別名
-
SQL 教程
•
PHP 5 時區
-
PHP參考手冊
•
漫談MySQL的鎖機制
•
互聯網組織的未來:剖析GitHub員工的任性之源
相關標籤/搜索
區別
別的
shell
不加區別
區別於
詳細區別
有區別
區別對待
區區
Unix
NoSQL教程
Redis教程
Spring教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
CVPR 2020 論文大盤點-光流篇
2.
Photoshop教程_ps中怎麼載入圖案?PS圖案如何導入?
3.
org.pentaho.di.core.exception.KettleDatabaseException:Error occurred while trying to connect to the
4.
SonarQube Scanner execution execution Error --- Failed to upload report - 500: An error has occurred
5.
idea 導入源碼包
6.
python學習 day2——基礎學習
7.
3D將是頁遊市場新賽道?
8.
osg--交互
9.
OSG-交互
10.
Idea、spring boot 圖片(pgn顯示、jpg不顯示)解決方案
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Shell $*和$@的區別
2.
login shell與non-login shell的區別
3.
bash: non-login shell和login shell的區別
4.
login shell 和 non-login shell 的區別
5.
Linux—shell中$(( ))、$( )、``與${ }的區別
6.
unix shell中(),[]和[[]]的區別
7.
shell中$*與$@的區別
8.
linux shell中'',""和``的區別
9.
shell,perl,python的區別
10.
shell中$(( ))、$( )與${ }的區別
>>更多相關文章<<