From: sumit kalra <i_am_sumit_kalra@yahoo.com>
To: _z33 <timid.Gentoo@gmail.com>, linux-newbie@vger.kernel.org
Subject: Re: what do the dots mean?
Date: Sun, 4 Sep 2005 14:10:16 +0100 (BST) [thread overview]
Message-ID: <20050904131016.55217.qmail@web61015.mail.yahoo.com> (raw)
In-Reply-To: <dfeo9p$m08$1@sea.gmane.org>
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 <timid.Gentoo@gmail.com> 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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2005-09-04 13:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-04 20:55 what do the dots mean? _z33
2005-09-04 12:05 ` sumit kalra
2005-09-05 0:45 ` _z33
2005-09-04 13:10 ` sumit kalra [this message]
2005-09-05 16:04 ` Stephen Samuel
2005-09-06 16:51 ` _z33
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050904131016.55217.qmail@web61015.mail.yahoo.com \
--to=i_am_sumit_kalra@yahoo.com \
--cc=linux-newbie@vger.kernel.org \
--cc=timid.Gentoo@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox