From e6a62e5247c511543992a2bc1a6a8e3fc265799c Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Tue, 25 Jul 2023 16:13:23 +0200 Subject: [PATCH] apply new standard header for scripts --- examples/contacts2csv | 2 +- examples/dump_services | 2 +- examples/get_logs | 2 +- examples/list_hosts | 2 +- examples/objectcache2csv | 2 +- examples/query2testobjects | 2 +- examples/remove_duplicates | 2 +- examples/trigger_eventhandler_at_downtime_end | 2 +- examples/worker_command_tester | 2 +- script/check_thruk_rest | 2 +- script/generate_timeperiod_transitions.pl | 2 +- script/nagexp | 2 +- script/nagimp | 2 +- script/naglint | 2 +- script/reenable_actions | 2 +- script/templates_cleanup.pl | 2 +- script/theme-icons-update.pl | 2 +- script/theme-obsolete-images.pl | 2 +- script/thruk | 2 +- script/thruk_auth | 2 +- script/thruk_format_perl_modules | 2 +- support/convert_old_datafile.pl | 2 +- support/standard_script_header | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/examples/contacts2csv b/examples/contacts2csv index 11af1bada2..3a4e5669f2 100755 --- a/examples/contacts2csv +++ b/examples/contacts2csv @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use strict; diff --git a/examples/dump_services b/examples/dump_services index e267a6b191..dcb30e2d0b 100755 --- a/examples/dump_services +++ b/examples/dump_services @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use strict; diff --git a/examples/get_logs b/examples/get_logs index f9475530b8..1bb407005a 100755 --- a/examples/get_logs +++ b/examples/get_logs @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use strict; diff --git a/examples/list_hosts b/examples/list_hosts index 00ce790f25..75a49079fc 100755 --- a/examples/list_hosts +++ b/examples/list_hosts @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use strict; diff --git a/examples/objectcache2csv b/examples/objectcache2csv index 771a00f296..f55410d1d6 100755 --- a/examples/objectcache2csv +++ b/examples/objectcache2csv @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use strict; diff --git a/examples/query2testobjects b/examples/query2testobjects index 2134f9cf92..027f871ad2 100755 --- a/examples/query2testobjects +++ b/examples/query2testobjects @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use strict; diff --git a/examples/remove_duplicates b/examples/remove_duplicates index 55ad042a0d..647f33647d 100755 --- a/examples/remove_duplicates +++ b/examples/remove_duplicates @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## diff --git a/examples/trigger_eventhandler_at_downtime_end b/examples/trigger_eventhandler_at_downtime_end index 973fb46294..6693ea4964 100755 --- a/examples/trigger_eventhandler_at_downtime_end +++ b/examples/trigger_eventhandler_at_downtime_end @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use strict; diff --git a/examples/worker_command_tester b/examples/worker_command_tester index 9ce27aad90..7101e540ac 100755 --- a/examples/worker_command_tester +++ b/examples/worker_command_tester @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use strict; diff --git a/script/check_thruk_rest b/script/check_thruk_rest index bd483e4aa5..b05b017f1a 100755 --- a/script/check_thruk_rest +++ b/script/check_thruk_rest @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ################################################### use warnings; diff --git a/script/generate_timeperiod_transitions.pl b/script/generate_timeperiod_transitions.pl index 4fe22c00ef..5089b03d95 100755 --- a/script/generate_timeperiod_transitions.pl +++ b/script/generate_timeperiod_transitions.pl @@ -31,7 +31,7 @@ #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 use warnings; use strict; diff --git a/script/nagexp b/script/nagexp index ac058cf758..ca05268503 100755 --- a/script/nagexp +++ b/script/nagexp @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use warnings; diff --git a/script/nagimp b/script/nagimp index b0c6c122d3..a42dfc9bcc 100755 --- a/script/nagimp +++ b/script/nagimp @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use warnings; diff --git a/script/naglint b/script/naglint index 8dbc877fab..c3f8188d4c 100755 --- a/script/naglint +++ b/script/naglint @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use warnings; diff --git a/script/reenable_actions b/script/reenable_actions index 25db15d2a5..1944e5483c 100755 --- a/script/reenable_actions +++ b/script/reenable_actions @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ############################################## use warnings; diff --git a/script/templates_cleanup.pl b/script/templates_cleanup.pl index 86e8d94f0f..326d975e76 100755 --- a/script/templates_cleanup.pl +++ b/script/templates_cleanup.pl @@ -31,7 +31,7 @@ #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ################################################### use warnings; diff --git a/script/theme-icons-update.pl b/script/theme-icons-update.pl index 70e0803c0d..0ce6a3400c 100755 --- a/script/theme-icons-update.pl +++ b/script/theme-icons-update.pl @@ -31,7 +31,7 @@ #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ################################################### use warnings; diff --git a/script/theme-obsolete-images.pl b/script/theme-obsolete-images.pl index 1f42824dbf..d6a57104e4 100755 --- a/script/theme-obsolete-images.pl +++ b/script/theme-obsolete-images.pl @@ -31,7 +31,7 @@ #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ################################################### use warnings; diff --git a/script/thruk b/script/thruk index e610ab64ad..e6221e2d7c 100755 --- a/script/thruk +++ b/script/thruk @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ################################################### use warnings; diff --git a/script/thruk_auth b/script/thruk_auth index c9369a4a1a..d7e0a662b1 100755 --- a/script/thruk_auth +++ b/script/thruk_auth @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 use warnings; use strict; diff --git a/script/thruk_format_perl_modules b/script/thruk_format_perl_modules index 0557845836..892856d901 100755 --- a/script/thruk_format_perl_modules +++ b/script/thruk_format_perl_modules @@ -31,7 +31,7 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 ################################################### use warnings; diff --git a/support/convert_old_datafile.pl b/support/convert_old_datafile.pl index 58aac8b7c3..63e97595e6 100755 --- a/support/convert_old_datafile.pl +++ b/support/convert_old_datafile.pl @@ -31,7 +31,7 @@ #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35 use warnings; use strict; diff --git a/support/standard_script_header b/support/standard_script_header index c5ea5eae20..763c22f995 100755 --- a/support/standard_script_header +++ b/support/standard_script_header @@ -31,4 +31,4 @@ eval 'exec perl -x $0 ${1+"$@"} ;' #! -*- perl -*- # vim: expandtab:ts=4:sw=4:syntax=perl -#line 33 +#line 35