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)

static S platformQuote(S s) {
  ret isWindows() ? winQuote(s) : bashQuote(s);
}

static S platformQuote(File f) {
  ret platformQuote(f2s(f));
}

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: #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: 537 / 524
Version history: 1 change(s)
Referenced in: [show references]