Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nathaniel Flath <flat0103@gmail.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] cd command defaults to ~
Date: Thu, 05 Jul 2012 17:34:00 -0000	[thread overview]
Message-ID: <CAPrg3HAy524TOZ91jYKZXy7eCP2SpDwGKcq7O6NDh21VjBb93Q@mail.gmail.com> (raw)
In-Reply-To: <20120705140038.GB27886@host2.jankratochvil.net>

It's certainly not a huge deal - just something that's been annoying
me for a while.  As for other possible behaviours - I think the POSIX
standard for 'cd' with no arguments is to use the HOME directory, if
it is set - http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cd.html
is what I was looking at, so I don't think there would be too many
people expecting a completely different behaviour . I'd be willing to
update the two documents you mentioned, if this is an acceptable
change.

Thanks,
Nathaniel Flath

On Thu, Jul 5, 2012 at 7:00 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Thu, 05 Jul 2012 04:31:07 +0200, Nathaniel Flath wrote:
>> 'cd' in bash defaults to ~, whereas in gdb will throw an error.  This
>> patch has the 'cd' command in gdb use '~' as a default instead of
>> giving this error.
>
> FYI I do not find it too much required, 'cd ~' is not such a burden, one may
> expect that 'cd' without parameters will do 'pwd' (which it does not) etc.
> Therefore I do not approve it on my own unless someone else does.
>
> It would need an update in doc/doc/gdb.texinfo and probably even gdb/NEWS.
>
>
> Regards,
> Jan


  reply	other threads:[~2012-07-05 17:34 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-05  2:31 Nathaniel Flath
2012-07-05 14:00 ` Jan Kratochvil
2012-07-05 17:34   ` Nathaniel Flath [this message]
2012-07-05 17:50     ` Eli Zaretskii
2012-07-05 18:09     ` Tom Tromey
2012-07-07  4:29       ` Nathaniel Flath
2012-07-07  6:17         ` Jan Kratochvil
     [not found]           ` <CAPrg3HBCBs5tmuM9qH=Q=_PgPVb8Rb-=fbPX_ZSy1dEWgKcY9g@mail.gmail.com>
     [not found]             ` <20120722163408.GA20790@host2.jankratochvil.net>
2012-07-22 16:37               ` Nathaniel Flath
2012-07-22 16:50                 ` Jan Kratochvil
2012-07-23  7:42                   ` Sergio Durigan Junior
2012-07-23 14:14                   ` Tom Tromey
2012-08-04  5:55                     ` Nathaniel Flath
2012-08-04  6:05                       ` Sergio Durigan Junior
2012-08-04  7:11                       ` Eli Zaretskii
2012-08-04 17:10                         ` Nathaniel Flath
2012-08-04 17:16                           ` Eli Zaretskii
2012-08-04 18:16                             ` Nathaniel Flath
2012-08-04 18:28                               ` Jan Kratochvil
     [not found]                                 ` <CAPrg3HDpFytQmCHe2GSzW=_ckAcNXN5UPJ5qPWDPHgwzY8RWzw@mail.gmail.com>
2012-08-06  9:15                                   ` Nathaniel Flath
2012-08-06 18:43                                     ` [commit] " Jan Kratochvil
2012-08-07  5:52                                       ` [obv] testsuite: default.exp: Fix cd regression [Re: [commit] [PATCH] cd command defaults to ~] Jan Kratochvil
2012-08-07  7:31                                       ` [commit] [PATCH] cd command defaults to ~ Nathaniel Flath
2012-08-07  7:53                                         ` Jan Kratochvil
2012-08-07 16:02                                           ` Nathaniel Flath
2012-07-22 17:13                 ` Eli Zaretskii

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=CAPrg3HAy524TOZ91jYKZXy7eCP2SpDwGKcq7O6NDh21VjBb93Q@mail.gmail.com \
    --to=flat0103@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.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