] map ;
: load-ldconfig-cache ( -- seq )
- "/sbin/ldconfig -r" utf8 [ lines ] with-process-reader
+ "/sbin/ldconfig -r" utf8 [ read-lines ] with-process-reader
rest parse-ldconfig-lines ;
: name-matches? ( lib double -- ? )
] map ;
: load-ldconfig-cache ( -- seq )
- "/sbin/ldconfig -p" utf8 [ lines ] with-process-reader*
+ "/sbin/ldconfig -p" utf8 [ read-lines ] with-process-reader*
2drop [ f ] [ rest parse-ldconfig-lines ] if-empty ;
: ldconfig-arch ( -- str )
[
"ld" , "-t" , ":" split [ "-L" , , ] each
"-o" , "/dev/null" , "-l" name append ,
- ] { } make utf8 [ lines ] with-process-reader* 2drop
+ ] { } make utf8 [ read-lines ] with-process-reader* 2drop
"lib" name append '[ _ swap subseq? ] find nip
] [ f ] if* ;
} [
"hello-world" deploy
"hello-world" deploy-path 1array
- ascii [ lines ] with-process-reader
+ ascii [ read-lines ] with-process-reader
] with-variables
] long-unit-test
{ { "a" "b" "c" } } [
"tools.deploy.test.15" shake-and-bake deploy-test-command
{ "a" "b" "c" } append
- ascii [ lines ] with-process-reader
+ ascii [ read-lines ] with-process-reader
rest
] long-unit-test
: changelog ( -- authors )
image-path parent-directory [
"git log --no-merges --pretty=format:%an"
- utf8 [ lines ] with-process-reader
+ utf8 [ read-lines ] with-process-reader
] with-directory ;
: merge-aliases ( authors -- authors' )
"--pretty=format:%h %an: %s" ,
".." glue ,
] { } make
- utf8 [ lines ] with-process-reader ;
+ utf8 [ read-lines ] with-process-reader ;
: updates ( from to -- lines )
git-log reverse
IN: mason.git
: git-id ( -- id )
- { "git" "show" } utf8 [ lines ] with-process-reader
+ { "git" "show" } utf8 [ read-lines ] with-process-reader
first words second ;
<PRIVATE
{ "git" "status" "--porcelain" } ;
: git-status ( -- seq )
- git-status-cmd utf8 [ lines ] with-process-reader ;
+ git-status-cmd utf8 [ read-lines ] with-process-reader ;
: check-repository ( -- seq )
"factor" [ git-status ] with-directory ;
<PRIVATE
: run-process-output ( command -- seq )
- utf8 [ lines ] with-process-reader ;
+ utf8 [ read-lines ] with-process-reader ;
PRIVATE>