bash script array loop的相關文章
bash script array loop的相關商品

UNIX Command Line: Bash while loop sum issue explained
瀏覽:1420
日期:2025-06-15
On one of my directory I had a lot of log files and I had to find the count of the total number of lines which starts with 's' (i.e. ^s). ... internetjanitor said... #!/bin/bash sum=0 DIR=~/original declare -a sum while read file do while read line do if ...看更多