Answers for "read few lines bash"

0

read input from multiple lines in BASH

user@host:~$ read -d '' x <<EOF
> mic
> check
> one
> two
> EOF
Posted by: Guest on April-20-2021
1

bash lines to one line

LINE=$(paste -sd ' ' $FILE)
Posted by: Guest on April-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language