Search Results

Search: Posts Made By: dahlia84
8,062
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
8,062
Posted By Scrutinizer
What happens when you use: echo...
What happens when you use:
echo "$var3"
2,226
Posted By agn
Try the docs...
Try the docs (http://search.cpan.org/~jenda/Mail-Sender-0.8.16/Sender.pm#EXAMPLES)
24,285
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
24,285
Posted By karthigayan
Try this , str3=$(echo "$str1 \n $str2") ...
Try this ,


str3=$(echo "$str1 \n $str2")
echo -e $str3
2,395
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

 

Featured Tech Videos

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