linux-tutorial/codes/shell/示例脚本/变量/自定义变量.sh

9 lines
143 B
Bash

#!/usr/bin/env bash
days=10
guest="Katie"
echo "$guest logged in $days days age"
guest="Katie2"
days=5
echo "$guest logged in $days days age"