RosettaCodeData/Task/Variables/UNIX-Shell/variables.sh
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

6 lines
231 B
Bash

#!/bin/sh
# The unix shell uses typeless variables
apples=6
# pears=5+4 # Some shells cannot perform addition this way
pears = `expr 5+4` # We use the external expr to perform the calculation
myfavourite="raspberries"