linux - In bash, how do I pass the while loops input to the cut ...

linux - In bash, how do I pass the while loops input to the cut ...

瀏覽:784
日期:2026-04-25
10 Mar 2013 ... How do I pass the $line to the cut command properly in this loop? while read line do login= $(cut -d : -f 1) done < /etc/passwd. I can't do $(cut -d ......看更多