經安全檢測,此網站為安全網站,請放心前往原始網址!

UNIX Command Line: Bash while loop sum issue explained

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

www.unixcl.com

網址安全性掃描由 google 提供