[ic] TAB in a shell script

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Wed Oct 24 19:01:01 2001


On Thu, Oct 25, 2001 at 12:40:39AM -0400, Daniel Roulliere wrote:
> Hi,
> I have a little problem with a shell script which makes a record with 
> the datas of my payment organism.
> I want fields separated by a TAB  :
> 
> echo $catalog TAB $certificate TAB $authorisation TAB .....  >> $output

Quote it.
echo "$catalog TAB $certificate TAB $authorisation TAB ....."  >> $output

See also:

printf "foo\tbar\tgletch" >> $output



> 
> what is used   for TAB ?
> I try to put \t , '\t' , "\t" unsuccessfully !
> 
> Thanks
> Daniel.
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users

-- 

Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux