开发者社区 问答 正文

linux shell中加入随机数

#!/bin/sh awk -F"|" '{print $2}' list | sed 's/^/1.rmvb_/g' | while read t;do cp 1.exe $t.exe;done 

1.rmvb中1改为随机数 在通道中加入。

展开
收起
a123456678 2016-06-12 16:08:16 1967 分享 版权
1 条回答
写回答
取消 提交回答
  • 直接用tempfile吧

    2019-07-17 19:34:25
    赞同 展开评论