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

10
LINES

< > BotCompany Repo | #1003883 // unquoteLogForDisplay

JavaX fragment (include)

1  
static S unquoteLogForDisplay(File f) {
2  
  new L<S> l;
3  
  for (S s : toLines(f))
4  
    if (nempty(s))
5  
      if (isProperlyQuoted(s))
6  
        l.add(unquote(s));
7  
      else
8  
        l.add("!! " + s);
9  
  ret fromLines(l);
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003883
Snippet name: unquoteLogForDisplay
Eternal ID of this version: #1003883/1
Text MD5: 880ac934581048ff8ab239f6f60401ba
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-29 17:25:03
Source code size: 223 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 528 / 517
Referenced in: [show references]