All of lore.kernel.org
 help / color / mirror / Atom feed
From: _z33 <timid.Gentoo@gmail.com>
To: linux-newbie@vger.kernel.org
Subject: Re: what do the dots mean?
Date: Tue, 06 Sep 2005 09:51:34 -0700	[thread overview]
Message-ID: <dfj58o$fe3$1@sea.gmane.org> (raw)
In-Reply-To: <431C6C85.1050403@bcgreen.com>

Stephen Samuel wrote:
> No the second dot does NOT disappear... Watch  your output closely.
> You should also get yourself a linux distribution ( www.knoppix.org
> has bootable CD or DVD images ).  and try the command 'man ctime'
> (the reason why I say that is that is that 'PAUSE' is a DOS command)
> 
> The %.24s says "Only print the first 24 characters of the output
> from 'ctime'.  You see, the output from ctime includes a newline as
> the last (25th) character of it's output,  so  %.24s chops off the output
> just before the newline.
> 
> I.e. the resultint output is   <DATE>\n.\n
> 
> The trailing dot is now on the next line.

Thanks. I saw that :)

_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

      reply	other threads:[~2005-09-06 16:51 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
2005-09-05 16:04     ` Stephen Samuel
2005-09-06 16:51       ` _z33 [this message]

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='dfj58o$fe3$1@sea.gmane.org' \
    --to=timid.gentoo@gmail.com \
    --cc=linux-newbie@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.