Thank you Tinkster.
Any good tutorials/books with examples for scripting with sed or awk that you would recommend? From some brief research I find both these tools are for text manupilation.
I would like to be able to create an independent script with xdialog, which when executed, will read the values from the second script(input variables shown below). The goal is to have a gui so that the user can input and save values in the second script without having to touch the second script file.
#!/bin/sh
rdpserver=w.x.y.z
rdpuser='-u test'
rdppasswd='-p test'
rdpdomain='-d test'
application='-s notepad.exe'
appworkdir='c:\windows'
rdesktop -f '$rdpdomain' '$rdpuser' '$rdppasswd' '$application' -c '$appworkdir' '$rdpserver'
Any help with an example would be greatly appreciated.
Regards
Quote:
Originally Posted by Tinkster
Hi, and welcome to LQ!
And yes, you can. You just need to be good with sed or awk
to achieve the task at hand.
Cheers,
Tink
|