I am not sure why you are not seeing the last dot. Okay, so when you remove the first dot, printf prints the complete string which would have a newline character (\n) as it's 25th element so the dot should appear on the next line.
-Sumit --- _z33 <[EMAIL PROTECTED]> wrote: > sumit kalra wrote: > > Well, the first dot along with the 24 (%.24s) > > specifies to printf to print only 24 characters of > the > > string. > > > > Second dot is a full stop after the string. :-) > > > > Thanks for the info. > > But in that case when you remove the first dot you > should be able to see > the second dot for sure, right? But the moment I > remove the first dot, > the second dot disappears from the output. > > > _z33 > -- > I love TUX; well... that's an understatement :) > > - > To unsubscribe from this list: send the line > "unsubscribe linux-newbie" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at > http://vger.kernel.org/majordomo-info.html > Please read the FAQ at > http://www.linux-learn.org/faqs > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
