在shellscript中带有参数的功能 [英] Function with parameters in shellscript

查看:99
本文介绍了在shellscript中带有参数的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好所有访客
如何在Shell脚本中使用参数声明函数?

最好的问候,

Hi all visitors
how can i declare function with parameter in shell script?

Best Regards,

推荐答案

这取决于您所使用的shell.使用man命令检查相关语法.
It depends on which shell you are using. Use the man command to check for the relevant syntax.


这篇关于在shellscript中带有参数的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆