프로그래밍/Script
[Linux] script에서 split
Mason-CHOI
2022. 9. 28. 23:28
리눅스 쉘 스크립트에서 split 예시
#!/bin/bash
search_dir="I/wanna/go/home"
test_1=$(echo $entry | cut -d '/' -f3)
echo $test_1