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

3
LINES

< > BotCompany Repo | #1031837 // bashQuoteOpt

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3122L/17K).

sS bashQuoteOpt(S s) {
  ret containsUnsafeBashCmdLineChar(s) ? bashQuote(s) : s;
}

Author comment

Began life as a copy of #1016316

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031837
Snippet name: bashQuoteOpt
Eternal ID of this version: #1031837/1
Text MD5: 867c098f5e512c79005f2899858d4819
Transpilation MD5: 1284ac4e9cde9ee874a6cb5456c94912
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-14 17:24:33
Source code size: 85 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 86 / 123
Referenced in: [show references]