bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: While and for loops can read all filename when poc.txt have "*"


From: Greg Wooledge
Subject: Re: While and for loops can read all filename when poc.txt have "*"
Date: Tue, 22 Dec 2020 08:58:23 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, Dec 22, 2020 at 03:42:46PM +0800, ffvh gfff wrote:
> for i in $(cat ~/poc.txt);do echo $i;done

https://mywiki.wooledge.org/DontReadLinesWithFor

https://mywiki.wooledge.org/BashFAQ/001

https://mywiki.wooledge.org/BashPitfalls$pf1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]