Commit d0d7c357 by Mantas Mikaitis Committed by Alan Lawrence

check_GNU_style.sh "80 characters exceeded" error fix

2014-12-10  Mantas Mikaitis  <mantas.mikaitis@arm.com>

	* contrib/check_GNU_style.sh (col): Got rid of cut operation
	from the pipe chain and instead added cut inside awk command.

From-SVN: r218575
parent 73d17363
......@@ -86,8 +86,7 @@ col (){
shift 1
grep -nH '^+' $* \
| grep -v ':+++' \
| cut -f 2 -d '+' \
| awk '{ if (length ($0) > 80) print $0 }' \
| awk -F':\\+' '{ if (length($2) > 80) print $0}' \
> $tmp
if [ -s $tmp ]; then
printf "\n$msg\n"
......
2014-12-10 Mantas Mikaitis <mantas.mikaitis@arm.com>
* contrib/check_GNU_style.sh (col): Got rid of cut operation
from the pipe chain and instead added cut inside awk command.
2014-12-10 Richard Biener <rguenther@suse.de>
PR tree-optimization/64191
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment