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
This commit is contained in:
parent
73d1736364
commit
d0d7c35782
2 changed files with 6 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue