Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1001948 - scanLog - scan log made with logQuoted

JavaX fragment (include)

static L<S> scanLog(S progID, S fileName) {
  ret scanLog(getProgramFile(progID, fileName));
}

static L<S> scanLog(S fileName) {
  ret scanLog(getProgramFile(fileName));
}

static L<S> scanLog(File file) {
  new L<S> l;
  for (File f : concatLists(earlierPartsOfLogFile(file), ll(file)))
    for (S s : toLines(file))
      if (isProperlyQuoted(s)) l.add(unquote(s));
  ret l;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1001948
Snippet name: scanLog - scan log made with logQuoted
Eternal ID of this version: #1001948/3
Text MD5: c6b518d63a829b69e082db28c910d99f
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-01 01:47:41
Source code size: 393 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 550 / 2159
Version history: 2 change(s)
Referenced in: [show references]