Search Results

Search: Posts Made By: dahlia84
9,721
Posted By rbatte1
How about:- echo "${var1}\n${var2}" ...
How about:-
echo "${var1}\n${var2}"
var3=`echo "${var1}\n${var2}"`
echo "$var3"


This should preserve the special characters.



Robin
UK
9,721
Posted By Scrutinizer
What happens when you use: echo...
What happens when you use:
echo "$var3"
2,531
Posted By agn
Try the docs...
Try the docs (http://search.cpan.org/~jenda/Mail-Sender-0.8.16/Sender.pm#EXAMPLES)
27,428
Posted By ygemici
# echo -e $str1"\nContent of str2" This is...
# echo -e $str1"\nContent of str2"
This is string one with spaces
This is also my sentence 1
Content of str2
27,428
Posted By karthigayan
Try this , str3=$(echo "$str1 \n $str2") ...
Try this ,


str3=$(echo "$str1 \n $str2")
echo -e $str3
2,699
Posted By Scott
Well, provided that LOGFILE is set at the time,...
Well, provided that LOGFILE is set at the time, it should create the file if it doesn't exist:


>>word Use file word as standard output. If the file exists,
...
Showing results 1 to 6 of 6

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