Nguyen Vu Hung (VNC) a écrit : > (2011/05/05 14:52), Jean Christophe André wrote: > >$ echo 'isRecieved' | sed 's/\([A-Z]\)/ \1/g' | aspell -d en -a > Nice tip that solve a specific case. > > In our project, as camelCase is used, we need to check all the > methodClassPackageName and the like. > > # and old_style_variable_naming_convention as well.
$ echo 'int isRecieved(aStingVaraible, old_style_namng)' | sed 's/_/ /g;s/\([A-Z]\)/ \1/g' int is Recieved(a Sting Varaible, old style namng) $ echo 'int isRecieved(aStingVaraible, old_style_namng)' | sed 's/_/ /g;s/\([A-Z]\)/ \1/g'| aspell -d en -a @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.6) * * & Recieved 12 7: Received, Relieved, Receives, Reachieved, Receive, Revived, Receiver, Reserved, Deceived, Receded, Recited, Relived * * & Varaible 8 24: Variable, Variably, Variables, Arable, Parable, Wearable, Viable, Arabel * * & namng 11 44: naming, namings, among, mange, mango, mangy, mung, naming's, norming, Nanak, Hmong What do you need more than that? -- Jean Christophe ANDRÉ — Coordonnateur des infrastructures techniques Agence universitaire de la Francophonie (AUF) — http://www.auf.org/ ✉ : AUF, 21 Lê Thánh Tông, T.T. Hoàn Kiếm, Hà Nội, Việt Nam ℡ : +84 4 38247382 ✦ ℻ : +84 4 38247383 ✦ Cellul. : +84 91 3248747 ⎧Note personnelle: merci d'éviter de m'envoyer des fichiers Microsoft⎫ ⎩Office, cf http://www.gnu.org/philosophy/no-word-attachments ⎭ _______________________________________________ POST RULES : http://wiki.hanoilug.org/hanoilug:mailing_list_guidelines _______________________________________________ HanoiLUG mailing lists: http://lists.hanoilug.org/ HanoiLUG wiki: http://wiki.hanoilug.org/ HanoiLUG blog: http://blog.hanoilug.org/