Skip to content

Commit

Permalink
Fix end of line to linux
Browse files Browse the repository at this point in the history
  • Loading branch information
DyanGalih committed Dec 21, 2023
1 parent fac2d22 commit 68d8f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ path=$1
# Read the file list.txt and store each line into the array search_strings
readarray -t search_strings < list.txt

# Declare an empty array to store the grep results
declare -a grep_results
# Create an empty array to store the grep results
grep_results=()

# Loop through each search string in the array
for string in "${search_strings[@]}"; do
Expand Down

0 comments on commit 68d8f01

Please sign in to comment.