Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

heredoc remove leading space tabs linux bash

sed 's/^ *//' >> ~/Desktop/text.txt << EOF
    Load time-out reached and nothing to resume.
    $(date +%T) - Transmission-daemon exiting.
EOF
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #heredoc #remove #leading #space #tabs #linux #bash
ADD COMMENT
Topic
Name
4+7 =