티스토리 뷰
728x90
arr=(one two three)
for i in ${arr[@]}
do
echo $i;
done
https://stackoverflow.com/questions/15691942/print-array-elements-on-separate-lines-in-bash
Print array elements on separate lines in Bash?
How do I print the array element of a Bash array on separate lines? This one works, but surely there is a better way: $ my_array=(one two three) $ for i in ${my_array[@]}; do echo $i; done one two...
stackoverflow.com
728x90
'공부' 카테고리의 다른 글
java.lang.NoClassDefFoundError: javax/servlet/Filter (0) | 2022.05.22 |
---|---|
[JavaScript] Array.isArray() (0) | 2022.05.22 |
[Sh] array loop (0) | 2022.05.22 |
[Spring] cloud config server `enable=false` off (0) | 2022.05.22 |
[YAML] null `field: ~` (0) | 2022.05.22 |
'schedule_interval'의 변신, 그리고 'execution_date'의 종말 (0) | 2022.05.14 |
댓글
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- 142,688
- Today
- 14
- Yesterday
- 219
TAG
- 개리마커스
- 클루지
- 연애학개론
- Bot
- follower
- wlw
- 어떻게 능력을 보여줄 것인가?
- 인스타그램
- 김달
- COUNT
- Kluge
- 유투브
- 책그림
- 팔로워 수 세기
- 메디파크 내과 전문의 의학박사 김영수