Skip to content

Commit

Permalink
problem with (ubuntu/cosmic)mawk /^[[:space:]]*</
Browse files Browse the repository at this point in the history
fix exotic cosmic mawk #bug whiteinge#66
  • Loading branch information
dubiouscript committed Nov 25, 2018
1 parent ec41ff1 commit 1a61097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ok.sh
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ status_text: ${status_text}
BEGIN { RS=", "; FS="; "; OFS=": " }
{
sub(/^rel="/, "", $2); sub(/"$/, "", $2)
sub(/^[[:space:]]*</, "", $1); sub(/>$/, "", $1)
sub(/^ *</, "", $1); sub(/>$/, "", $1)
print "Link_" $2, $1
}')
" # need trailing newline
Expand Down

0 comments on commit 1a61097

Please sign in to comment.