https://unix.stackexchange.com/questions/74244/hybrid-code-in-shell-scripts-sharing-variables
Hybrid code in shell scripts. Sharing variables
This answer discusses how to run a multi-line Python snippet from the command line in a terminal. I noticed that the answer works great within shell scripts, even with nested indentation, which is ...
unix.stackexchange.com
'Linux & UNIX' 카테고리의 다른 글
docker0 브릿지의 MAC주소 고정하는 방법 (0) | 2021.07.29 |
---|---|
sed나 awk 대신에 parameter substitution 를 이용하자 (0) | 2021.07.15 |
배시에서 배열의 인덱스를 문자열로 정하고 싶다면 연관배열을 알자 (0) | 2021.06.11 |
변수에 담은 명령어 결과의 개행문자가 사라질때 (0) | 2021.06.11 |
리눅스 쉘스크립트의 대괄호[ ]는 test 문법 (0) | 2021.06.11 |
댓글