Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abort if an input file has a newline in its name #21

Open
chepner opened this issue Jun 11, 2020 · 0 comments
Open

Abort if an input file has a newline in its name #21

chepner opened this issue Jun 11, 2020 · 0 comments

Comments

@chepner
Copy link

chepner commented Jun 11, 2020

If an input file contains a newline, there's no way to distinguish between
that newline and the newline the terminates the file name in the editor buffer.

While workarounds exist (for example, separate the file names with null bytes),
I'm not sure how that would affect the usability of the script without significant
editor-specific configuration.

I would recommend simply aborting if any source name contains a newline, letting
the caller deal with the issue manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant