mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 22:35:04 -05:00
8 lines
243 B
Groovy
8 lines
243 B
Groovy
net.sourceforge.filebot.cli.CLILogging.CLILogger.setLevel(java.util.logging.Level.OFF)
|
||
|
||
console.printf('Enter: ')
|
||
def s = console.readLine()
|
||
|
||
// ‘$’, ‘`’, or ‘\’
|
||
console.printf('%n"' + s.replaceAll('["$`\\\\]', {'\\'+it}) + '"%n')
|