Bonjour,
Je ne connais pas du tout AWK et j'ai un script à étudier. Je comprend le premier bloc et après, j'ai beaucoup de mal a vraiment saisir les instructions. Quelqu'un pourrait il m'éclairer?
Code :
- BEGIN {
- IGNORECASE = 1;
- ignore = 0;
- }
- /.*\<POLICY-REFERENCES\>.*/ {
- ignore = 1;
- next;
- }
- /.*\<\/POLICY-REFERENCES\>.*/ {
- ignore = 0;
- next;
- }
- {
- if (ignore == 0)
- print $0;
- }
|
Merci
Message édité par kaola le 06-04-2007 à 14:44:16