我想在 shell 脚本中编写逻辑,如果由于某些问题而失败,它将根据“状态代码 = FAIL”在 15 秒后重试运行最多 5 次。
我.gz
在一个文件夹中有多个文件,我想在gunzip
不删除父文件的情况下将其解压缩到其他文件夹中。请帮忙。
我有一个变量${value}
,它的内容是:
bigint_col, smallint_col,string_col,string_col,string_col, bigint_col, string_col,string_col,timestamp_col,timestamp_col,timestamp_col,timestamp_col
Run Code Online (Sandbox Code Playgroud)
我只想先bigint_col
用my_col
变量本身替换,以便新内容看起来像这样
my_col, smallint_col,string_col,string_col,string_col, bigint_col, string_col,string_col,timestamp_col,timestamp_col,timestamp_col,timestamp_col
Run Code Online (Sandbox Code Playgroud)
我正在寻找一些帮助来解决这个问题。