Posts by LEo • 136 points
2 posts
-
1
votes1
answer95
viewsA: run python file list with shell script
Your code was almost right. #!/bin/bash scriptspy=( '/scs/sp1.py', '/scs/sp2.py', '/scs/sp3.py', '/scs/sp4.py', '/scs/spweb.py', '/scs/sp11.py', '/scs/spservice.py' ) for i in ${scriptspy[*]}; do…
-
1
votes2
answers81
viewsA: Is there an extra parameter for the linux script command for characters to be saved with the correct encoding?
A program is writing a file using a certain encoding and another program is reading using another encoding. There is no markup in the file to indicate which type of encoding was used. What you can…