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

7
LINES

< > BotCompany Repo | #1005009 - platformQuote - quote stuff for platform-specific command line

JavaX fragment (include)

1  
static S platformQuote(S s) {
2  
  ret isWindows() ? winQuote(s) : bashQuote(s);
3  
}
4  
5  
static S platformQuote(File f) {
6  
  ret platformQuote(f2s(f));
7  
}

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1005009
Snippet name: platformQuote - quote stuff for platform-specific command line
Eternal ID of this version: #1005009/2
Text MD5: 65b770ee86588a43c1c54a6483bab833
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-25 13:58:19
Source code size: 150 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 346 / 310
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1005009 & http://1005009.tinybrain.de