英文: Convert the follwing bash script to sh 问题 Here's the translated script in sh without the need fo...
Bash逐行读取文件并将值附加到特定变量中。
英文: Bash read file line by line and append the value to a specific variable 问题 我正在尝试逐行读取文件并在对变量进行一些更...
提取 git URL 的域名使用 POSIX。
英文: Extracting git url's domain with POSIX 问题 我试图构建从Git仓库中提取域的最可靠方法。 对于如下的URL: ssh://git@gitlab....
如何在shell脚本中从这种格式的时间中减去毫秒:“2020-01-06 11:27:12.280”
英文: How do I subtract milliseconds from time in this format: "2020-01-06 11:27:12.280" in ...
Date extraction from file name in bash
英文: Date extraction from file name in bash 问题 我有一个包含多个文件的目录,文件名的模式是abc12gddmmyyyy.zip。 我正在使用bash脚本工作...
替换返回输出中的字符 bash
英文: Replacing chars in returned output bash 问题 I can help you with the translation: 我可以帮助您进行翻译: im t...
如何将文件中的指定行保存到变量中
英文: How to save a specified line of a file to a variable 问题 I want to save a specified line of a fil...
如何在Bash Shell中将普通文本转换为日期格式?
英文: How to convert normal text into date format in bash shell? 问题 将其从 格式1:12272019(这只是一个数字) 转换为 格式2:...
具有一个变量的输入,使用静态列表动态地为另一个变量创建值。
英文: Having an input for a variable, dynamically create values for another variable using a static li...
Shell脚本中问号(?)的使用问题
英文: Shell Script question mark (?) issue in its uses 问题 我正在尝试运行以下脚本,但遇到了一个问题。 我找到了解决方案,但仍然不清楚为什么这个解决...
67