search for: badpath

Displaying 2 results from an estimated 2 matches for "badpath".

Did you mean: bad_path
2005 Aug 20
2
Questions on "\" vs "/" on Windows
...\" is required for paths passed as character vectors from within R? My experience has been that "/" always works and "\" often fails due to escaping issues (the user's fault). A pathalogical example that I _have_ encountered due to temp file naming on Windows: > badpath <- "foo\\2\\bar" > root <- "c:\\HERE\\file.txt" > gsub("HERE", badpath, root) Error in gsub("HERE", badpath, root) : invalid backreference 2 in regular expression Using file.path is recommended as a best practice, but AFAICT, it forces &quo...
2012 Jul 21
5
[PATCH 1/5] mount: add a macro to resolve path or device
Add a macro DUP_RESOLVE_DEVICE_OR_PATH to resolve path or device. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- daemon/daemon.h | 18 ++++++++++++++++++ daemon/mount.c | 13 ++----------- po/POTFILES | 8 ++++++++ 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index 85eec45..39cc3f3 100644 --- a/daemon/daemon.h +++