Displaying 12 results from an estimated 12 matches for "list_fil".
Did you mean:
list_file
2017 Jul 01
0
[PATCH] Add new hash.c32 module
...sum.c) included in Slitaz 5.0 Rolling as of 2016-04-25.
+ * http://hg.slitaz.org/wok/log/default/syslinux/stuff/extra/md5sum.c
+ *
+ * Based in Gene Cumm's additional patches
+ * that make c32box.c32 compatible with Syslinux 5.0.
+ */
+
+/*
+ * Usage:
+ *
+ * _ from CLI:
+ * hash.c32 path/to/list_file
+ *
+ * _ from a configuration file :
+ * COM32 hash.c32
+ * APPEND path/to/list_file
+ *
+ * The content's format of the list_file is expected to be:
+ *
+ * md5sum path/to/file
+ *
+ * or more generally:
+ *
+ * hash_value1 path/to/file1
+ * hash_value2 path/to/file2
+ * hash_value3...
2023 Aug 11
3
R-4.3 version list.files function could not work correctly in chinese
????
????R-4.3???????????R??????list.files??????????????????????BUG????????????????????????????
r4.3????dir????????????????? - COS??? | ?????? | ?????????????? (cosx.org)<https://d.cosx.org/d/424356-r43ban-ben-zhong-dirhan-shu-huo-qu-bu-liao-quan-bu-wen-jian/11>
???????????????????????
[[alternative HTML version deleted]]
2004 Apr 10
0
patches for copying atimes
...tm *mt = gmtime(&t);
+ sprintf(dest, "%04d-%02d-%02d %02d:%02d:%02d",
+ mt->tm_year + 1900,
+ mt->tm_mon + 1,
+ mt->tm_mday,
+ mt->tm_hour,
+ mt->tm_min,
+ mt->tm_sec);
+ } else {
+ strcpy(dest, " ");
+ }
+}
static void list_file (const char *fname)
{
STRUCT_STAT buf;
char permbuf[PERMSTRING_SIZE];
- struct tm *mt;
- char datebuf[50];
+ char mtimebuf[50];
+ char atimebuf[50];
char linkbuf[4096];
if (do_lstat(fname, &buf) == -1)
@@ -97,19 +115,8 @@
permstring(permbuf, buf.st_mode);
- if (buf.st_mtime) {...
2023 Aug 12
2
R-4.3 version list.files function could not work correctly in chinese
...he OEM codepage cannot represent the characters I used in the file
names, but all the files are present in both lists.)
In order to find out what's wrong, it will be needed to download the R
source code and compile it [*], install gdb using pacman (part of
Rtools), then set a breakpoint on the list_files function from
src/main/platform.c and step through it [**], paying attention to the
R_readdir calls. Do the missing file names not even come out from
FindNextFile()? Are they somehow skipped around the time of regex match?
(I could help with the details of this, maybe off-list, if there's
in...
2004 Apr 20
1
improved atime patch
...tm *mt = gmtime(&t);
+ sprintf(dest, "%04d-%02d-%02d %02d:%02d:%02d",
+ mt->tm_year + 1900,
+ mt->tm_mon + 1,
+ mt->tm_mday,
+ mt->tm_hour,
+ mt->tm_min,
+ mt->tm_sec);
+ } else {
+ strcpy(dest, " ");
+ }
+}
static void list_file (const char *fname)
{
STRUCT_STAT buf;
char permbuf[PERMSTRING_SIZE];
- struct tm *mt;
- char datebuf[50];
+ char mtimebuf[50];
+ char atimebuf[50];
char linkbuf[4096];
if (do_lstat(fname, &buf) == -1)
@@ -97,19 +115,8 @@
permstring(permbuf, buf.st_mode);
- if (buf.st_mtime) {...
2020 Nov 03
0
help loading files into R for koRpus analysis
...quot;,
"word/*.docx"))
You could skip the paste0 entirely, and use
texts <- readtext("/Users/Gordon/Desktop/WPSCASES/word/*.docx")
but I'm assuming this is just an example of a more complex situation.
Duncan Murdoch
>
> And the error message:
> Error in list_files(file, ignore_missing, TRUE, verbosity) :
> ? File '' does not exist.
>
>
> On Mon, Nov 2, 2020 at 3:15 PM Duncan Murdoch <murdoch.duncan at gmail.com
> <mailto:murdoch.duncan at gmail.com>> wrote:
>
> You may get a helpful response, but if not, I&...
2023 Aug 12
2
R-4.3 version list.files function could not work correctly in chinese
Yes, I participated in the discussion. Basically dir() failed to list all
files since R 4.3.0 when filenames start with Chinese characters. I don't
have a Windows machine to test it, but this might be a minimal reproducible
example:
file.create("????.R")
dir()
The OP said dir() would return "????.R" in R.4.2.2 but not in R 4.3.0. In
the same discussion another person
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...regular file is specified assume it is in gen_initramfs format
input_file() {
source="$1"
if [ -f "$1" ]; then
is_cpio="$(echo "$1" | sed 's/^.\*\.cpio/cpio/')"
if [ $2 -eq 1 -a ${is_cpio} == "cpio" ]; then
cpio_file=$1
[ ! -z ${list_file} ] && echo "$1"
return 0
fi
if [ -z ${file_list} ]; then
header "$1"
print_mtime "$1" >> ${cpio_list}
cat "$1" >> ${cpio_list}
else
grep ^file "$1" | cut -d ' ' -f 3
fi
elif [ -d "$1&...
2002 Mar 28
1
(no subject)
...io.c: In function `read_unbuffered':
io.c:303: warning: int format, different type arg (arg 3)
io.c: In function `writefd_unbuffered':
io.c:462: warning: int format, different type arg (arg 3)
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c tls.c -o tls.o
tls.c: In function `list_file':
tls.c:124: warning: int format, long int arg (arg 4)
tls.c:124: warning: int format, long int arg (arg 5)
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c getgroups.c -o getgroups.o
getgroups.c: In function `main':
getgroups.c:45: warning: unsigned int format, long unsigned...
2002 Feb 20
1
Errors compiling rsync 2.5.2 on Solaris 8
....o zlib/zutil.o zlib/adler32.o popt/findme.o popt/popt.o
popt/poptconfig.o popt/popthelp.o popt/poptparse.o -lresolv -lsocket -lnsl
Then when I run a gmake test, I get the following:
bash-2.03# gmake test
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c tls.c -o tls.o
tls.c: In function `list_file':
tls.c:124: warning: int format, uid_t arg (arg 4)
tls.c:124: warning: int format, gid_t arg (arg 5)
tls.c:124: warning: int format, long int arg (arg 6)
gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -o tls tls.o syscall.o
lib/permstring.o -lresolv -lsocket -lnsl
POSIXLY_CORRECT=1 TLS=`pwd`...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...ar file is specified assume it is in gen_initramfs format
+input_file() {
+ source="$1"
+ if [ -f "$1" ]; then
+ is_cpio="$(echo "$1" | sed 's/^.*\.cpio/cpio/')"
+ if [ $2 -eq 0 -a ${is_cpio} == "cpio" ]; then
+ cpio_file=$1
+ [ ! -z ${list_file} ] && echo "$1"
+ return 0
+ fi
+ if [ -z ${file_list} ]; then
+ header "$1"
+ print_mtime "$1" >> ${output}
+ cat "$1" >> ${output}
+ else
+ grep ^file "$1" | cut -d ' ' -f 3
+ fi
+ elif [ -d "...
2014 Aug 03
2
[Bug 10756] New: rsync can't create files or dirs in subdirs (sometimes?)
...ry ***
rsync: recv_generator: mkdir "/home.diff/Bliss/Documents/law/Sw/Programming &
Development" failed: No such file or directory (2)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/home.diff/Bliss/Documents/law/Sw/Recommended PHP
reading list_files" failed: No such file or directory (2)
*** Skipping any contents from this failed directory ***
rsync: recv_generator: mkdir "/home.diff/Bliss/Documents/law/Sw/Sophos" failed:
No such file or directory (2)
*** Skipping any contents from this failed directory ***
rsync: recv_generat...