shell


Write shell script in Windows Xp


I have to write the shell script, which will run on cygwin and build my projects. I am using Windows - Xp. How can I do that?
( I am newbie for shell script)
It seems like you'll need to get some scripting knowledges. You can start with this tutorial.
For a hello world shell script:
Open Cygwin
Create a Hello World script: echo "echo Hello World!" > hello.sh. It is a file with the only line echo Hello World!
Run the script ./hello.sh
man is your friend!
well cygwins default shell is bash, google that and then get back here on SO with a more specific question...
Have you tried building your projects from the cygwin command prompt?
Before you start writing a script, you need to know which commands you need to build your project.

Related Links

Why doesn't the shell command find . -name “*.txt” | rm remove all .txt files in the current directory?
to find the size of a file and assign it to a variable in UNIX script
How can I start in command mode (not insert mode) in readline's vi editting-mode
how to control the timing of call to scripts within a shell wrapper
Not able to execute script with parameters within a SSH script
Adding two digital numbers
Replace value of filed IF MATCH
POST with Curl to utilize artifactory API?
Checking if directory in HDFS already exists or not
Update oracle table with start and end times from shell script
Output the test shell script status to webpage
How to run SWI-Prolog from the command line?
Search, count and position of the count in a file
Unexpected empty result from shell script that calls awk
Input a command result in a command line program
How can I execute a script that runs within an xterm/xgterm?

Categories

HOME
batch-file
facebook-oauth
deep-learning
c99
swt
apache-spark-mllib
graphics
devise
sublimetext
simulink
x-cart
php-5.6
openbugs
shared-libraries
renjin
cumulocity
symbol
red5
symfony-console
epsilon
onload
fragment-backstack
quantlib
cppreference
magento-1.8
testbed
deltaspike
spring-security4
jett
gnat-gps
slacktextviewcontroller
baidu-map
openerp-7
imagenet
spring-mvc-test
parser-generator
print-css
bindingnavigator
android-exoplayer
importerror
flask-login
fwrite
dynamic-linq
launchctl
identification
datamaps
corruption
video-conferencing
compiler-design
backbone-collections
android-testing
skin
arules
oozie-coordinator
javafx-css
expectations
contentcontrol
java-money
r-package
poppler
text-search
cgi-bin
sony-lifelog-api
mod-proxy
dot.js
mmwormhole
crowd
cuba
amslidemenu
openargs
hidapi
script#
gpars
apache-whirr
infobright
node-redis
listactivity
dataform
twitterizer
collectionviewsource
object-database
lxr
lobo-cobra
asynchronous-wcf-call
soappy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App