RosettaCodeData/Task/Variables/UNIX-Shell/variables.sh
2023-07-01 13:44:08 -04: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"