From 1c085647b60eb93e44185bdf7dcbe2a5b8f4befd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 14 Nov 2018 11:38:58 +0100 Subject: update-kernel-config: sed -n "...; T; p" -> sed "...; t; d" --- update-kernel-config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/update-kernel-config b/update-kernel-config index 7439c7d..b4d78f2 100755 --- a/update-kernel-config +++ b/update-kernel-config @@ -47,17 +47,17 @@ for config_name in ${config_names}; do { grep -vxF "$( printf '%s\n' "${diff}" | \ - sed -n ' + sed ' s/^-// - T - p + t + d ' )" "${git_repo_path}/$1/$2/${config_name}" printf '%s\n' "${diff}" | \ - sed -n ' + sed ' s/^+// - T - p + t + d ' } | \ sponge "${git_repo_path}/$1/$2/${config_name}" -- cgit v1.2.3-70-g09d2