上は駄目で下ならできる、シェル難しい。
$ cat hoge | xargs -I 'echo {}; sleep 1;'
$ cat hoge | xargs -I % sh -c '{ echo %; sleep 1; }'
Go to list of users who liked
More than 5 years have passed since last update.
上は駄目で下ならできる、シェル難しい。
$ cat hoge | xargs -I 'echo {}; sleep 1;'
$ cat hoge | xargs -I % sh -c '{ echo %; sleep 1; }'
Register as a new user and use Qiita more conveniently
Go to list of users who liked