nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit deead97e23981074d0e33520558d54b6e34fa374
parent 8ec2fe7f813e6a2d54f2b4083dc4b231fef1ae7b
Author: Omar Polo <op@omarpolo.com>
Date:   Wed, 24 Nov 2021 11:40:59 +0100

drop unnecessary ifdef __linux__

since nnn requires gsed anyway, why don't use it?
Probably forgot in #1210

Diffstat:
Msrc/nnn.c | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -2729,12 +2729,7 @@ static void archive_selection(const char *cmd, const char *archive, const char * } snprintf(buf, CMD_LEN_MAX, -#ifdef __linux__ SED" -ze 's|^%s/||' '%s' | xargs -0 %s %s", curpath, selpath, cmd, archive -#else - "tr '\\0' '\n' < '%s' | "SED" -e 's|^%s/||' | tr '\n' '\\0' | xargs -0 %s %s", - selpath, curpath, cmd, archive -#endif ); spawn(utils[UTIL_SH_EXEC], buf, NULL, NULL, F_CLI | F_CONFIRM); free(buf);