Python, call python replace string in bash
Info:
Used python fun str.replace('','')
Usage:
1. Replace spaces:
$ python -c 'print "Rammstein - Mein Land".replace(" ","")
2. Replace spaces in string and make directory
$ mkdir $(python -c 'print "Rammstein - Mein Land".replace(" ","")')
Info:
Used python fun str.replace('','')
Usage:
1. Replace spaces:
$ python -c 'print "Rammstein - Mein Land".replace(" ","")
2. Replace spaces in string and make directory
$ mkdir $(python -c 'print "Rammstein - Mein Land".replace(" ","")')
Коментарі