希望用 shell 循环输出下面这样的内容。
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Example</title> </head> <body> <div> <time>2020-10-01 07:46:13</time> <p>text01</p> </div> <div> <time>2020-10-02 07:46:13</time> <p>text02</p> </div> ... </body> </html>
其中有两个值需要循环输出:时间(按日递增),编号(从 01 递增),然后输出 100 个
有没有大佬可以用 shell 实现?先谢谢了!
