bugzilla-daemon at bugzilla.mindrot.org
2018-Mar-06 19:35 UTC
[Bug 2838] New: Question about expanding wildcard on linux
https://bugzilla.mindrot.org/show_bug.cgi?id=2838 Bug ID: 2838 Summary: Question about expanding wildcard on linux Product: Portable OpenSSH Version: 7.6p1 Hardware: Other OS: Linux Status: NEW Severity: trivial Priority: P5 Component: scp Assignee: unassigned-bugs at mindrot.org Reporter: yawang at microsoft.com Since "Posting by non-members to openssh-unix-dev at mindrot.org is currently disabled." I post the question here. When run "scp .\tmp* sharefs:~" on Linux ubuntu 4.13.0-21-generic, the wildcard * is expanded, but look into source code scp.c, the expanding is not happening in scp.c. Where is the wildcard expanded? Look into the sftp.c code, it calls glob to expands the wildcard. Why scp can achieve the expanding without calling glob? Thanks! -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Mar-06 21:46 UTC
[Bug 2838] Question about expanding wildcard on linux
https://bugzilla.mindrot.org/show_bug.cgi?id=2838 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED CC| |dtucker at dtucker.net --- Comment #1 from Darren Tucker <dtucker at dtucker.net> --- It's done by your shell. Replace the scp with "echo" and you will see the same result. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Mar-08 22:44 UTC
[Bug 2838] Question about expanding wildcard on linux
https://bugzilla.mindrot.org/show_bug.cgi?id=2838 bingbing8 <yawang at microsoft.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.