Search Results

Search: Posts Made By: asterisk-ix_use
1,341
Posted By gary_w
Sourcing a file does not require it to be...
Sourcing a file does not require it to be executable.

To preserve the carriage return, enclose the variable in quotes:

echo "$message3"
. filename [arguments]
source filename...
1,341
Posted By itkamaraj
just source it. $ cat var.txt ...
just source it.

$ cat var.txt
message1="Reason for error code1"
message2="Reason for error code2"
message3="Reason for error code3.
To solve this, you may try doing...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy