sjsam
sjsam

Reputation: 21965

awk : apply the same script on different files in parallel

Apply the same set of commands parallelly on files provided

awk -which_option_goes_here? '{Run these commands in ll on files->}' files*

The manpage doesn't provide any information on this, but I think this is possible.

Upvotes: 0

Views: 45

Answers (1)

Mark Setchell
Mark Setchell

Reputation: 208087

Use GNU Parallel:

parallel awk '1' ::: files*

Upvotes: 2

Related Questions