Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [ -d (#i)Temp ]





On 2026-04-10 11:57, Bart Schaefer wrote:
Sorry, I need to correct that.  Replace "globbing" with "word
splitting".  The glob happens in either case but the result passed to
"-d" will be different.
I remember at one point I wanted to do a global replacement of [ with [[ and there were those places where things broke.  Gotta remember these subtle differences.  I wish there was a friendlier version of 'typedef -p' that gave a less confusing output, it would help a guy like me solve those invisible problems sorting out what is split where and how.







Messages sorted by: Reverse Date, Date, Thread, Author