bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27942: closed (Re: bug#27942: Bug regarding "touch" command)


From: pavan kumar yalavarthi
Subject: bug#27942: closed (Re: bug#27942: Bug regarding "touch" command)
Date: Fri, 4 Aug 2017 15:45:30 +0530

Can you please explain why is this working fine in linux system

y.pavan kumar

On Fri, Aug 4, 2017 at 12:47 PM, GNU bug Tracking System <
address@hidden> wrote:

> Your bug report
>
> #27942: Bug regarding "touch" command
>
> which was filed against the coreutils package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to address@hidden
>
> --
> 27942: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27942
> GNU Bug Tracking System
> Contact address@hidden with problems
>
>
> ---------- Forwarded message ----------
> From: Paul Eggert <address@hidden>
> To: pavan kumar yalavarthi <address@hidden>,
> address@hidden
> Cc:
> Bcc:
> Date: Fri, 4 Aug 2017 00:16:23 -0700
> Subject: Re: bug#27942: Bug regarding "touch" command
> pavan kumar yalavarthi wrote:
>
>> " *touch  -* " is not working i.e., file named " - " is not being created
>> using *touch *command in* ubuntu* flavours  , but working fine with*
>> linux *
>> flavours.
>>
>
> It's not a bug. In coreutils, 'touch -' is documented to touch the
> standard output file, not a file named '-'. The POSIX specification for
> 'touch' allows either the coreutils behavior or the other behavior that you
> mentioned. If you want to touch a file named '-', the command 'touch ./-'
> is a portable way to do it.
>
>
>
> ---------- Forwarded message ----------
> From: pavan kumar yalavarthi <address@hidden>
> To: address@hidden
> Cc:
> Bcc:
> Date: Fri, 4 Aug 2017 11:05:53 +0530
> Subject: Bug regarding "touch" command
> " *touch  -* " is not working i.e., file named " - " is not being created
> using *touch *command in* ubuntu* flavours  , but working fine with*
> linux *flavours.
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]