Hi,

The 1st command below correctly reports trailing spaces, for Unix and Windows 
format files.
The 2nd one incorrectly reports all lines.

  grep -sHn -i " [[:cntrl:]]*$" *.vhd
  grep -sHn -i "\s[[:cntrl:]]*$" *.vhd

grep -V
grep (GNU grep) 3.0
Packaged by Cygwin (3.0-2)
Copyright (C) 2017 Free Software Foundation, Inc.

cmd --help
Microsoft Windows [Version 10.0.19045.5371]
(c) Microsoft Corporation. All rights reserved.

Kind Regards
Brockmann

Andreas Brockmann, Dipl.-Ing.
Hardware Engineer
Strategic Business Segment Aircraft Systems
HW & Mech. Engineering & Config. Management

phone +49 7551 891 4104
andreas.brockm...@diehl.com | www.diehl.com/aviation

Diehl Aerospace GmbH
Alte Nussdorfer Strasse 23 | 88662 Ueberlingen | Germany

Diehl Aerospace is a Joint Diehl Thales Company

[cid:image001.png@01DB6E6A.9AA98030]

Discover our product highlights!<https://www.highlights-diehlaviation.com/en/>

[cid:image002.png@01DB6E6A.9AA98030]<https://twitter.com/diehlaviation>    
[cid:image003.png@01DB6E6A.9AA98030] <https://www.linkedin.com/company/13579979>

Save Paper! Think Before You Print.


Diehl Aerospace GmbH, Alte Nu?dorfer Stra?e 23, 88662 Ueberlingen, 
Deutschland/Germany

Sitz der Gesellschaft/registered office: Ueberlingen | Registergericht/Registry 
court: Freiburg, HRB 581408

Geschaeftsfuehrer/General management: Dipl.-Betr.-Wirt (BA) Florian Maier 
(Vorsitzender/CEO), Dipl.-Wirtsch.-Ing. Joerg Maeder, Dipl.-Kfm. Eric Gros

Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail 
enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Informieren 
Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte 
loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der 
Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser 
E-Mail ist strengstens untersagt.
Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie 
unter: https://www.diehl.com/group/de/transparenz-und-informationspflichten

The content of the above mentioned e-mail is not legally binding. This e-mail 
contains confidential and/or legally protected information. Please inform us if 
you have received this e-mail by mistake and delete it in such a case. Each 
unauthorized reproduction, disclosure, alteration, distribution and/or 
publication of this e-mail is strictly prohibited.
For general information on data protection and your respective rights please 
visit: https://www.diehl.com/group/en/transparency-and-information-obligations


Reply via email to