22 May 16 22:34, you wrote to all:
BR> Anyone know of a good reference/tutorial on converting DOS/Wins batch
BR> files to bash scripts? I know how to create one & call programs, test
BR> for files and act on the outcome, and beep the speaker! {chuckle} This
BR> is all going on under Raspbian Jesse on a Raspberry Pi 3B. Fun stuff lol
A lot of the magic of shell scripts is in calling the right UNIX program for
the task, and this doesn't necessarily translate well from DOS. Also, error
handling is fairly different.
As well as what others have mentioned, you might want to look at some of the
system shell scripts included with your system, notably the /etc/rc* scripts in
BSD and Linux.
If you get stuck on a particular problem you can ask here.
--- GoldED+/BSD 1.1.5-b20160201
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
|