chitin icon indicating copy to clipboard operation
chitin copied to clipboard

Automated variable replacement in %script is great until you try to use awk

Open SamStudio8 opened this issue 8 years ago • 1 comments

yields hilarious results

SamStudio8 avatar Feb 08 '17 14:02 SamStudio8

Currently you can work around this by inserting a space between your field operators:

awk '{print $ 1"\t"$ 2"\t"$ 3; print $ 2"\t"$ 1"\t"$ 3}'

SamStudio8 avatar Feb 08 '17 14:02 SamStudio8