ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activetcl
activetcl
Re: [Activetcl] wierd char in puts
by Michael Barth other posts by this author
Mar 12 2008 2:42AM messages near this date
view in the new Beta List Site
[Activetcl] wierd char in puts | [Activetcl] activetcl 8.5.1, teacup, $HOME/.teapot
Gene Osteen wrote:
>  puts  -nonewline $sql_file "exec sp_UpdateUpdates '${db}',\13\10" 
>  
>  This produced a line that had hex 0B 08 at the end instead of hex 0D 0A 
>  like I expected

Your code is alright. The numbers after the backslash are Octals! (cp. 
rule [8] in the manual page Tcl)

Michael
_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Gene Osteen
Michael Barth

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved