[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] (no subject)
From: |
Lakshman Siddardha |
Subject: |
[Help-bash] (no subject) |
Date: |
Fri, 22 Sep 2017 19:30:36 +0530 |
file:list
----------------------------------------
hello
world
----------------------------------------
when i type on terminal the following command:
$ cat $file
it displays as it is in file
----------------------------------------
hello
world
----------------------------------------
when i execute a shell script, it gives output in one line only
---------------------------------------
ex.sh
----------------------------------------
lista=$(cat list)
echo $lista
-------------------------------------
it gives output of
--------------------------
hello world
-------------------------
i want new line character between "hello" and "world"
- [Help-bash] (no subject),
Lakshman Siddardha <=
- Re: [Help-bash] (no subject), John McKown, 2017/09/22
- Re: [Help-bash] (no subject), Greg Wooledge, 2017/09/22
- Re: [Help-bash] (no subject), John McKown, 2017/09/22
- Re: [Help-bash] (no subject), Chet Ramey, 2017/09/22
- Re: [Help-bash] (no subject), John McKown, 2017/09/22
- Re: [Help-bash] (no subject), Chet Ramey, 2017/09/22
- Re: [Help-bash] (no subject), John McKown, 2017/09/22
- Re: [Help-bash] (no subject), Greg Wooledge, 2017/09/22
- Re: [Help-bash] (no subject), DJ Mills, 2017/09/22
- Re: [Help-bash] (no subject), Greg Wooledge, 2017/09/22