Opened at 2012-12-11T18:39:19Z
Closed at 2015-05-19T04:31:21Z
#1892 closed defect (fixed)
document what 'tahoe cp' does with trailing slashes
Reported by: | davidsarah | Owned by: | warner |
---|---|---|---|
Priority: | normal | Milestone: | 1.10.1 |
Component: | documentation | Version: | 1.9.2 |
Keywords: | tahoe-cp docs usability paths | Cc: | |
Launchpad Bug: |
Description (last modified by daira)
The --help text for tahoe cp says:
... Arguments should probably not have trailing slashes. 'tahoe cp' does not behave as much like /bin/cp as you would wish, especially with respect to trailing slashes.
But this doesn't tell me how tahoe cp behaves with trailing slashes, and I also don't know how /bin/cp behaves with trailing slashes, so I don't know whether that is the behaviour I would want.
I looked at man cp on Linux to see how it documented cp's behaviour with trailing slashes, and it didn't say, apart from documenting this option:
--strip-trailing-slashes remove any trailing slashes from each SOURCE argument
Change History (5)
comment:1 Changed at 2012-12-13T16:36:54Z by marlowe
Version 0, edited at 2012-12-13T16:36:54Z
by marlowe
(next)
comment:2 Changed at 2015-05-11T13:05:26Z by daira
- Description modified (diff)
- Milestone changed from undecided to 1.10.1
- Owner marlowe deleted
comment:3 Changed at 2015-05-11T14:12:25Z by daira
Is this sufficiently documented by docs/frontends/CLI.rst@aa65426a line 461 ("Trailing slashes indicate directories, but are not required.")?
comment:4 Changed at 2015-05-13T14:42:27Z by daira
- Owner set to warner
comment:5 Changed at 2015-05-19T04:31:21Z by warner
- Resolution set to fixed
- Status changed from new to closed
I think so, yeah.
Note: See
TracTickets for help on using
tickets.
This covers the behaviour of the trailing slashes.
http://tongtao.com/blog/?p=386