emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#27942: closed (Bug regarding "touch" command)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27942: closed (Bug regarding "touch" command)
Date: Fri, 04 Aug 2017 07:17:01 +0000

Your message dated Fri, 4 Aug 2017 00:16:23 -0700
with message-id <address@hidden>
and subject line Re: bug#27942: Bug regarding "touch" command
has caused the debbugs.gnu.org bug report #27942,
regarding Bug regarding "touch" command
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27942: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27942
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Bug regarding "touch" command Date: Fri, 4 Aug 2017 11:05:53 +0530
" touch  - " is not working i.e., file named " - " is not being created using touch command in ubuntu flavours  , but working fine with linux flavours.

--- End Message ---
--- Begin Message --- Subject: Re: bug#27942: Bug regarding "touch" command Date: Fri, 4 Aug 2017 00:16:23 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
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.


--- End Message ---

reply via email to

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