On Oct 25, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:

> Is there anybody here with an Ultrix who could run the script I sent?
> There are Ultrices at Cygnus, right?

Yep, got it.  There you go:

nl=

tab=    
space= 
IFS=    
foo=One line
bar=Two
lines
+ echo Direct use 
Direct use
+ echo {One} 
{One}
+ echo {line} 
{line}
+ echo {Two
lines} 
{Two
lines}
+ echo 

+ echo Indirect Use with Quotes 
Indirect Use with Quotes
+ : One line 
+ : Two
lines 
+ echo {One line} 
{One line}
+ echo {Two
lines} 
{Two
lines}
+ echo 

+ echo Indirect Use without Quotes 
Indirect Use without Quotes
+ : One line 
+ : Two
lines 
+ echo {One} 
{One}
+ echo {line} 
{line}
+ echo {Two
lines} 
{Two
lines}
+ echo 

+ echo NL in IFS 
NL in IFS
IFS=    

+ echo 

+ echo Direct use 
Direct use
+ echo {One} 
{One}
+ echo {line} 
{line}
+ echo {Two} 
{Two}
+ echo {lines} 
{lines}
+ echo 

+ echo Indirect Use with Quotes 
Indirect Use with Quotes
+ : One line 
+ : Two
lines 
+ echo {One line} 
{One line}
+ echo {Two
lines} 
{Two
lines}
+ echo 

+ echo Indirect Use without Quotes 
Indirect Use without Quotes
+ : One line 
+ : Two lines 
+ echo {One} 
{One}
+ echo {line} 
{line}
+ echo {Two} 
{Two}
+ echo {lines} 
{lines}


-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to