creating a .sh file programmatically under windows and running it on a linux system from cygwin
Posted
by
user1296193
on Stack Overflow
See other posts from Stack Overflow
or by user1296193
Published on 2012-03-27T17:20:15Z
Indexed on
2012/03/27
17:30 UTC
Read the original article
Hit count: 336
i want to write program, in windows, which will write a .sh file, then connect to a linux machine via cygwin and ssh, and execute that .sh file. I've had to use dos2unix to convert .sh files that I created in windows to run under linux. Obviously if I am executing a script with ssh it will have to be linux formatted to work. so I need to know how to create a linux appropriate .sh file using c or openoffice basic or vBA. thanks!
© Stack Overflow or respective owner