search for: slashes

Displaying 20 results from an estimated 1712 matches for "slashes".

2009 Dec 13
2
how to replace a single backward slash with a double backward slash?
Dear R-helpers: Hours ago, I asked how to replace a single forward slash with a double backward slash and recieved great help. Thanks again for all the repliers. In the meantime, I wonder how to replace a single backward slash with a double backward slash? e.g., I want change "c:\test" into "c:\\test" I tried the following but does not work.
2018 Aug 20
2
[Bug 13582] New: rsync filters containing multiple adjacent slashes aren't reduced to just one slash before matching
https://bugzilla.samba.org/show_bug.cgi?id=13582 Bug ID: 13582 Summary: rsync filters containing multiple adjacent slashes aren't reduced to just one slash before matching Product: rsync Version: 3.1.3 Hardware: x64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayne...
2016 Dec 09
1
[PATCH] inspect: improve canonical_mountpoint implementation
...size_t len = strlen (s); + char *orig = s; -static void -canonical_mountpoint_recursive (char *mp) -{ - if (mp[0] == '\0') - return; + s = strchr (s, '/'); + while (s != NULL && *s != 0) { + char *pos = s + 1; + char *p = pos; + /* Find how many consecutive slashes are there after the one found, + * and shift the characters after them accordingly. */ + while (*p == '/') + ++p; + if (p - pos > 0) { + memmove (pos, p, len - (p - orig) + 1); + len -= p - pos; + } - /* Remove trailing slashes. */ - if (mp[0] == '/...
2012 Jan 08
2
disable interpretation of trailing slash
Hello, This is a feature request for a command-line option to disable special interpretation of trailing slashes on source directories. I have been using rsync for a couple of years now (what an awesome program!) and the meaning of the trailing slash on a source is always the one aspect of its syntax that slows me down and makes me check and re-check the manual to ensure that I have remembered its behavior c...
2009 Jan 23
1
list.files changed in 2.7.0
I just noticed a change in the behavior of list.files from 2.6.1pat to 2.7.0 (I noticed it in 2.8.1 and traced back.) Previously, if the directory ended with a slash, and full.names=TRUE, the names returned had a single slash at the end of the directory, but now there are two. I noticed since I was getting a list of certain files and then grepping in the list for a full name formed with a
2009 Dec 13
1
how to replace a single forward slash with a double backward slash in a string?
Dear R-helpers. Can someone kindly tell me how to replace a single forward slash with double backward slash in a string? i.e., from "a/b" to "a\\b" Many thanks in advance. -Sean [[alternative HTML version deleted]]
2009 Mar 05
5
[LLVMdev] Persistent build error
I've been getting this error for the last few days: gmake[3]: Entering directory `/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/lib/Transforms/Utils' llvm[3]: Compiling AddrModeMatcher.cpp for Debug build In file included from /disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/llvm/Target/TargetLowering.h:26, from
2012 Feb 29
1
Replace back slashes with forward slashes?
Hello, All: What can people tell me about converting back slashes to forward slashes in character strings? Several years ago, Prof. Ripley provided a solution, which I lost and have not been able to find. Below please find a function to do this. I do not find this very satisfactory, however, because it uses "scan" and therefore ope...
2007 Jan 11
2
Wishlist: Sweave: allow line breaks after forward slashes (PR#9443)
Full_Name: Arne Henningsen Version: 2.4.0 OS: Linux Submission from: (NULL) (134.245.140.242) Sweave does not allow line breaks after forward slashes ("/"). This might lead to a long "substring" of a command that cannot be wrapped. Hence, Sweave either keeps this long "substring" in the current line and produces a too long line or it moves the entire "substring" in the following line and leaves the current...
2005 Jan 19
4
How to replace slashes with back slashes
Dear R-helpers I am running R2.0.0 under Windows 2000. I am compiling a number of file paths into a simple text file that will be read by some other software we use. Unfortunately, it can only handle file paths with back slashes (MS Windows convention), and from R, I get file paths with forward slashes. The following didn't work. > gsub('/', '\\', 'c:/dir1/dir2/file.ext') [1] "c:dir1dir2file.ext" > gsub('/', '\\\\', 'c:/dir1/dir2/file.ext') [1] "c:\...
2015 Mar 18
2
[PATCH] fuse: resolve absolute links to relative ones
First it strips /sysroot and then finds common prefix aligned on slashes. Next it produces ../ for each slash found in common prefix and concatenates them with the rest of resolved link. Fixes RHBZ#604041 Maros Zatko (1): fuse: resolve absolute links to relative ones src/fuse.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-)...
2007 Nov 28
1
IMAP --> Creating Folders --> trailing slash
Hello List, i use Dovecot 1.0.7 for pop and imap on Suse Linux 10.1. I need a little help in understanding something. If i want to create a folder with outlook express or thunderbird which can also create subfolders, then i have to create these folders with a trailing slash. folders created with trailing slash are in filesystem created als real folders, "normal" folders are
2015 Aug 27
2
Proposed change in file.exists() to tolerate Windows
...owledge that CRAN packages exist which fix this by replacing file.exists(), but it seems more elegant to me to fix the problem in R itself. R Core goes to great extremes to accommodate Windows users and the refusal to make file.exists() work in a cross-platform way is incongruous. I often do have slashes on the end of directory names being tested. Now that I understand the meaning of ?file.exists, I need to wrap the name being checked in a slash-deleter ## delete trailing slashes dts <- function(name) gsub("/$", "", name) if(!file.exists(dts(any_name))) { ... Can't you...
2017 Oct 09
8
Regular expression help
...nother real example is "f 1067 28680 24462" which should transform to "?? ". I've tried a few different regexprs, but am unable to find a way to say "transform words by deleting everything up to and including the 2nd slash" when there might be zero, one or two slashes.? Any suggestions? Duncan Murdoch
2007 Dec 28
1
WEBrick.. won't start and showing '/rails-2.0.2/lib/initializer.rb:159:in `require_frameworks': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError)' errors
Hi WEBric won''t strat and showing the following errors:- => Booting WEBrick... /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/rails-2.0.2/ lib/initializer.rb:159:in `require_frameworks'': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError) from /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/ rails-2.0.2/lib/initializer.rb:156:in
2016 Jan 18
1
How to share slash (root directory)
I am somewhat baffled by this and Googling for an answer has not given me any joy. I do get a lot of hits from preachers saying don't do it but either no answer was given or the answer refers to some distant past version of Samba... So, before anyone jumps on me, I know what I am wanting to do, and there is no risks involved. I am on a small SOHO network running my own group of computers,
2002 Nov 27
1
Trailing Slash Inconsistencies
Hello, I am noticing inconsistencies when using a trailing slash on the source directories in conjunction with the '--delete' option. In one instance when using a trailing slash files get deleted from subdirectories in the destination tree. In the other instance they don't. I am using rsync 2.5.5. The following are the scenarios: Scenario 1 ---------- *nix(src) ---> *nix(dest)
2008 Nov 15
2
[PATCH] Don't strip two leading slashes from paths.
rsync 3.0.4 will transform a path like '//machine/share/dir' to '/machine/share/dir' when the --protect flag is provided. This causes a problem with Cygwin, where the two leading slashes are meaningful (access of a remote Windows share). [[[ % rsync -s localhost://tela/downloads rsync: link_stat "/tela/downloads" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /home/lapo/packaging/rsync-3.0.4-...
2010 Jun 19
3
[Bug 1784] New: ssh-keygen fails when filename of key file contains multiple slashes
https://bugzilla.mindrot.org/show_bug.cgi?id=1784 Summary: ssh-keygen fails when filename of key file contains multiple slashes Product: Portable OpenSSH Version: 5.2p1 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ssh-keygen AssignedTo: unassigned-bugs at mindrot.org ReportedBy: srinidhi.b...
2007 Nov 17
7
oddness with fileserver, facts and plugins sync
I''m working with a pretty simple config at the moment to track down some issues I''m seeing with custom facts and plugins. I have factsync = true (default locations) and I have a simple fact in /var/lib/puppet/facts/ (actually it''s David''s netmask plugin) my pp file I''m testing with contains only: notice "netmask: ${netmask}" puppet -v