摘要:
本文介绍下,在bash shell编程中,有关case语句的一个例子,学习下case语句的用法,有需要的朋友参考下。本文转自:http://www.jbxue.com/article/13377.htmlbash case语句的例子。分享一段bash shell代码,对于学习bash的同学理解case语句的用法,会有帮助。例子:复制代码代码如下:#!/bin/bash## www.jbxue.com# Program:# File operation# 1.) Open file 2.) Display file 3.) Edit file 4.) Delete file# site: WWW 阅读全文