Why does `sudo -i` but not `sudo` remove newline characters?
13634
Why does a 'sudo -i' login shell break a here-doc command string argument?
126864
How to export variable for use with sudo?
11046
Bash semicolon being equal to newline is not exactly true?
75453
How do I remove newline character from lines preceding a particular pattern?
20355
Sudo is also user login password - why? how to change?
109424
Dash, command substitution not inserting newline?
23471
How can I delete all characters falling under /* .... */ including /* & */?
12861
Why does alias in /etc/bash.bashrc not apply to sudo?
88413
Best practices on using sudo in a bash script
123412
How to remove newline character between two strings \n in unix?
72261
How to set path for sudo commands
139274
What's the difference between 'sudo [command]' and 'sudo sh [command]?
39374
Removing trailing newline character from fgets() input
104899
Why do newline characters get lost when using command substitution?
3180
How do I get a platform-dependent new line character?
22069
What is the difference between sudo X and running X as root?
16283
How to make `sudo` preserve $PATH?