Displaying 2 results from an estimated 2 matches for "0st".
Did you mean:
0s
2005 Dec 21
1
random output with sub(fixed = TRUE)
...ering if my expectation is incorrect. Here is one example:
v <- paste(0:10, "asdf", sep = ".")
sub(".asdf", "", v, fixed = TRUE)
The results I get are
> sub(".asdf", "", v, fixed = TRUE)
[1] "0" "1\0st\0\0" "2\0<af>\001\0\0" "3\0<af>\001\0\0"
[5] "4\0mes\0" "5\0<ba>\001\0\0" "6\0\0\0\0\0" "7\0\0\0m\0"
[9] "8\0\0\0t\0" "9\0<fe>\0\0\0" "10\0\0\0\0\0"
&g...
2010 May 17
0
strace log
...open("/usr/lib/xen-3.2-1/bin/../lib/python/xen/xm/create.pyc", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=40085, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f731ad04000
read(4, "\263\362\r\n\35\5fHc\0\0\0\0\0\0\0\0\36\0\0\0@\0\0\0sT\17\0\0d\0\0"...,
4096) = 4096
fstat(4, {st_mode=S_IFREG|0644, st_size=40085, ...}) = 0
read(4, "SERVER_XEN_APIt\r\0\0\0get_single_vm("..., 32768) = 32768
read(4, "i\26\0o\10\0\1d\0\0Sn\1\0\1|\2\0i\22\0i\31\0o\35\0\1t\32\0t\7"...,
4096) = 3221
read(4, ""..., 4096)...