diff options
| author | Thomas Haller <thaller@redhat.com> | 2019-06-02 14:32:30 +0200 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2019-06-11 10:04:00 +0200 |
| commit | c0e075c90263150bd00ea033dbbd2d8e6b05300e (patch) | |
| tree | 96914aeae06e9f35c3e040f92408bd6013f3bee1 /examples/shell | |
| parent | d3db21ddaf38c2670fe5541bea1911b6f075d0b4 (diff) | |
| download | NetworkManager-c0e075c90263150bd00ea033dbbd2d8e6b05300e.tar.gz | |
all: drop emacs file variables from source files
We no longer add these. If you use Emacs, configure it yourself.
Also, due to our "smart-tab" usage the editor anyway does a subpar
job handling our tabs. However, on the upside every user can choose
whatever tab-width he/she prefers. If "smart-tabs" are used properly
(like we do), every tab-width will work.
No manual changes, just ran commands:
F=($(git grep -l -e '-\*-'))
sed '1 { /\/\* *-\*- *[mM]ode.*\*\/$/d }' -i "${F[@]}"
sed '1,4 { /^\(#\|--\|dnl\) *-\*- [mM]ode/d }' -i "${F[@]}"
Check remaining lines with:
git grep -e '-\*-'
The ultimate purpose of this is to cleanup our files and eventually use
SPDX license identifiers. For that, first get rid of the boilerplate lines.
Diffstat (limited to 'examples/shell')
| -rwxr-xr-x | examples/shell/active-wifi.sh | 1 | ||||
| -rwxr-xr-x | examples/shell/disconnect-device.sh | 1 | ||||
| -rwxr-xr-x | examples/shell/get-hostname.sh | 1 | ||||
| -rwxr-xr-x | examples/shell/list-devices.sh | 1 | ||||
| -rwxr-xr-x | examples/shell/nm-logging.sh | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/examples/shell/active-wifi.sh b/examples/shell/active-wifi.sh index 2ff5419017..958ca47b2c 100755 --- a/examples/shell/active-wifi.sh +++ b/examples/shell/active-wifi.sh @@ -1,6 +1,5 @@ #!/bin/sh # vim: ft=sh ts=2 sts=2 sw=2 et ai -# -*- Mode: sh; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/examples/shell/disconnect-device.sh b/examples/shell/disconnect-device.sh index e8af42fccf..75bed634b3 100755 --- a/examples/shell/disconnect-device.sh +++ b/examples/shell/disconnect-device.sh @@ -1,6 +1,5 @@ #!/bin/sh # vim: ft=sh ts=2 sts=2 sw=2 et ai -# -*- Mode: sh; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/examples/shell/get-hostname.sh b/examples/shell/get-hostname.sh index a521132c97..3c05e48a79 100755 --- a/examples/shell/get-hostname.sh +++ b/examples/shell/get-hostname.sh @@ -1,6 +1,5 @@ #!/bin/sh # vim: ft=sh ts=2 sts=2 sw=2 et ai -# -*- Mode: sh; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/examples/shell/list-devices.sh b/examples/shell/list-devices.sh index c5c4114012..c248428012 100755 --- a/examples/shell/list-devices.sh +++ b/examples/shell/list-devices.sh @@ -1,6 +1,5 @@ #!/bin/sh # vim: ft=sh ts=2 sts=2 sw=2 et ai -# -*- Mode: sh; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/examples/shell/nm-logging.sh b/examples/shell/nm-logging.sh index 988216502a..e14843554c 100755 --- a/examples/shell/nm-logging.sh +++ b/examples/shell/nm-logging.sh @@ -1,6 +1,5 @@ #!/bin/sh # vim: ft=sh ts=2 sts=2 sw=2 et ai -# -*- Mode: sh; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by |
