Libraryless. Click here for Pure Java version (2190L/14K).
sS massageVNCOptions(S s) { S sub = "passwordfile="; int i = indexOf(s, sub); if (i < 0) ret s; int j = i+l(sub); if (isLetter(charAt(s, j))) ret print("massaged", insertString(s, j, f2s(userDir()) + fileSeparator())); ret s; }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025266 |
Snippet name: | massageVNCOptions - allow specifying passwordfile relative to user dir |
Eternal ID of this version: | #1025266/6 |
Text MD5: | 1d5b020cbace841f3c25d48737ecb231 |
Transpilation MD5: | e8b677d7601ed990fdb52abf45293071 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-17 00:55:16 |
Source code size: | 251 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 262 / 354 |
Version history: | 5 change(s) |
Referenced in: | [show references] |