forked from colonelpanic/dotfiles
fix get_cols.awk indentation
This commit is contained in:
parent
07a62b243c
commit
200561b0e7
@ -3,13 +3,13 @@ BEGIN{
|
||||
column_count=split(cols,column_numbers," ");
|
||||
}
|
||||
{
|
||||
for(i=1; i<=column_count; i++)
|
||||
if(column_numbers[i] < 0)
|
||||
printf "%s", $(NF + 1 + column_numbers[i])
|
||||
else
|
||||
printf "%s", $column_numbers[i]
|
||||
if(i <= column_count)
|
||||
printf "%s", OFS
|
||||
for(i=1; i<=column_count; i++)
|
||||
if(column_numbers[i] < 0)
|
||||
printf "%s", $(NF + 1 + column_numbers[i])
|
||||
else
|
||||
printf "%s", $column_numbers[i]
|
||||
if(i <= column_count)
|
||||
printf "%s", OFS
|
||||
|
||||
printf "%s", ORS
|
||||
}
|
||||
printf "%s", ORS
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user