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

config/files/GRMLBASE/usr/share/initramfs-tools/scripts/init-top/grml hard to edit #306

Open
zeha opened this issue Jan 30, 2025 · 1 comment

Comments

@zeha
Copy link
Member

zeha commented Jan 30, 2025

config/files/GRMLBASE/usr/share/initramfs-tools/scripts/init-top/grml has embedded control characters (especially ^M etc) which confuse vim, neovim, zed and git diff.
Would be good if we can avoid having them in the file.

@mika
Copy link
Member

mika commented Jan 31, 2025

I like @akorn's suggestion regarding using something like CR="$(printf '\015')" and have $CR everywhere ^M is needed.

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

2 participants