potiuk commented on PR #623:
URL: https://github.com/apache/airflow-site/pull/623#issuecomment-1198518078
It fills the array 'pages' with the list of HTML files found. The problem
you see is likely the `-print 0` flag- rather than producing files separated by
"spaces" it separates them with \0 (null character) so that there is no
confusion between space being separator between files and one that is part of
the file name.
so if you have
* `a file.html`
* `another file.html`
This wil produce
"a file.html\0another file.html"
Then when you read it with -d '' you will get array:
['a file.html', 'another file.html']
Otherwise you'd get:
['a', 'file.html', 'another', 'file.html']
The problem with differences you see is that the "\0" separated files are
not broken over multiple lines because they are really a very long line with no
spaces to allow the break happen.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]