Displaying 20 results from an estimated 1716 matches for "slash".
Did you mean:
flash
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.
gsub(...
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: way...
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...
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 single slash.
(The double slash would be OK if I were opening the file...
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
/disk1.1/tigris-slash/usr/home/ben/svn-work/llvm/include/...
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 o...
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 curre...
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 created as file.
Is it possible to change this behavior? I want to create a folders just by
typing a name without trailing slash. It should be possible to store
messages in this folder...
2015 Aug 27
2
Proposed change in file.exists() to tolerate Windows
I'm writing to ask if R Core would make file.exists more Windows
tolerant when the argument has a trailing slash. This has been
discussed by users a few times here, I know it is not a new topic. But
it is not a solved problem, yet. I acknowledge 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...
2017 Oct 09
8
Regular expression help
I have a file containing "words" like
a
a/b
a/b/c
where there may be multiple words on a line (separated by spaces).? The
a, b, and c strings can contain non-space, non-slash characters. I'd
like to use gsub() to extract the c strings (which should be empty if
there are none).
A real example is
"f 147/1315/587 2820/1320/587 3624/1321/587 1852/1322/587"
which I'd like to transform to
" 587 587 587 587"
Another real example is
"f 1...
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 `proc...
2016 Jan 18
1
How to share slash (root directory)
...in/false %m$
domain logons = No
domain master = No
security = user
wins support = No
usershare max shares = 100
netbios name = marcslaptopsuse
admin users = marc, root
hide dot files = No
usershare allow guests = No
[slash]
comment = Root Dir
path = /
read only = No
inherit acls = No
available = Yes
browseable = Yes
writable = Yes
inherit permissions = No
force user = root
Appreciate any help offered and thanks in advance... Marc...
--...
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
--------...
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....
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...
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