2 실행하면 결과는 다음과 같습니다. 인자로 넣은 도우 종류와 토핑 종류를 매개변수로 받아 다양한 피자를 만들 수 있습니다.
터미널 |
gilbut@ubuntu2404:~/script$ ./func_pizza.sh for first pizza... make a thick potato pizza with tomato source... - flatten the thick dough - spread the tomato source - top with ham, cheese, meat, veges and potato - bake in the oven for second pizza... make a thick hawaiian pizza with tomato source... - flatten the thick dough - spread the tomato source - top with ham, cheese, meat, veges and pineapple - bake in the oven for third pizza... make a thin avocado pizza with spicy BBQ source... - flatten the thin dough - spread the spicy BBQ source - top with ham, cheese, meat, veges and avocado - bake in the oven |