Article 59HJB find not work on having space within string variable for -path or -iregex, etc

find not work on having space within string variable for -path or -iregex, etc

by
BudiKusasi
from LinuxQuestions.org on (#59HJB)
Why can't find work on having space within string variable for -path or -iregex find's option.
This input Code:'/home/demo.*/\.config/File System/.*t$'is fed on:
Code: read i


m="-iregex $i"
find ~ $mwon't work as it will if constant, not variable

so is not `find ~ \'$m\'` nor `eval find ~ \'$m\'`

How's the correct solution ?latest?d=yIl2AUoC8zA latest?i=iHeNQCMl-1I:peYGeax7zAo:F7zBnMy latest?i=iHeNQCMl-1I:peYGeax7zAo:V_sGLiP latest?d=qj6IDK7rITs latest?i=iHeNQCMl-1I:peYGeax7zAo:gIN9vFwiHeNQCMl-1I
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments