Пример функции оболочки
#!/bin/sh
# Define your function here
Hello () {
echo "Hello World $1 $2"
}
# Invoke your function
Hello Zara Ali
Poor Polecat
#!/bin/sh
# Define your function here
Hello () {
echo "Hello World $1 $2"
}
# Invoke your function
Hello Zara Ali
#!/bin/sh
# Function Definition
Welcome () {
echo "Welcome $1"
}
# Calling the function Welcome with argument
Welcome Vel
#!/bin/sh
# Define your function here
Hello () {
echo "Hello World"
}
# Invoke your function
Hello