Berkeley CSUA MOTD:Entry 29642
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2003/11/18 [Computer/SW/Unix] UID:29642 Activity:nil
11/18   How do you remove newlines with a one-line sed command
        cat /etc/motd | sed "s/\n//"   doesn't do it.
        \_ tr -d "\012" < /etc/motd
           \_ sweet! thanks.