Skip to content

SC2162 read without r w

DavidPontient edited this page Oct 14, 2024 · 1 revision

#!/usr/bin/env bash #using cut command and wile loop #cut -d ':' -f1,3,6 /etc/passwd cut -d ':' -f1,3,6 /etc/passwd | while read line;do echo "$line" done

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.

Clone this wiki locally