All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
2answers
120 views

How can I update a unique string in a shell-script with the output of a seperate function?

Due to my laziness, I have written an extremely "messy" series of scripts in order to auto-initiate my openvpn. The configuration file I am using comes vpnbook.com/freevpn. To get the password I use:...
0
votes
2answers
716 views

split an output of a command and search for a word in expect

I have this chunk of code that I want it to read output of a command, substring it from the beginning to a special character and then if that part is not empty send_log that it passed. But I'm not ...