Re: find improvement wish

2021-02-07 Thread Chun Yip Wong
Thanks for detailed explanation, 在 2021年2月8日 週一 11:47,Bob Proulx 寫道: > Chun Yip Wong wrote: > > I prefer using find with script in this way: find $dir $pattern.where > > pattern=" -name *.sh ! -name *.txt ... etc." > > There is a problem with insufficien

find improvement wish

2021-02-07 Thread Chun Yip Wong
Dear, I prefer using find with script in this way: find $dir $pattern.where pattern=" -name *.sh ! -name *.txt ... etc." The built findutils version is 4.7. it fails to work with such message find: paths must precede expression: 'test.sh' find: possible unquoted pattern after predicate '-name' I