You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When traversing directories during mass operations, files with spaces always cause scripts to be overly convoluted (for F in ...; do...)
Details of Issue:
Because the input field separator is white space, a collection of file names with spaces cause the list of files to break each file name into separate "words" which become meaningless. Loops blow out, etc.. The workaround is to use the (find . -name '*.xxx' | while IFS= read -r -d x...). The flexibility of this construct is limited. It needs to go away.
References (Docs, Links, Files):
If a New Page or Content is Needed, Expected Outcomes:
Link to the Content Page for Contributors:
The text was updated successfully, but these errors were encountered:
Description of Issue:
When traversing directories during mass operations, files with spaces always cause scripts to be overly convoluted (for F in ...; do...)
Details of Issue:
Because the input field separator is white space, a collection of file names with spaces cause the list of files to break each file name into separate "words" which become meaningless. Loops blow out, etc.. The workaround is to use the (find . -name '*.xxx' | while IFS= read -r -d x...). The flexibility of this construct is limited. It needs to go away.
References (Docs, Links, Files):
If a New Page or Content is Needed, Expected Outcomes:
Link to the Content Page for Contributors:
The text was updated successfully, but these errors were encountered: