dot

packages and services management
Log | Files | Refs | README

commit 3369cdea5806daa6e58570b4de4ba8474e50fa8e
parent e35e3fb00c1fb557cc4dd8d505596961cfc73a89
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Mon, 14 Aug 2017 18:52:27 +0200

iomenu/bin: fixing scripts

Diffstat:
Miomenu/bin/io | 3++-
Miomenu/bin/io-search | 2+-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/iomenu/bin/io b/iomenu/bin/io @@ -8,7 +8,8 @@ touch "$HOME/.abduco/names" # update sessions list -[ "$(abduco | wc -l)" = 1 ] && rm "$HOME/.abduco/names" || grep -F -e "$( +[ "$(abduco | wc -l | tr -cd 0-9)" = 1 ] && rm "$HOME/.abduco/names" || +grep -F -e "$( abduco | awk -F '\t' 'NR > 1 { print $3 " " }' )" "$HOME/.abduco/names" | sort -uk 2,2 -o "$HOME/.abduco/names" diff --git a/iomenu/bin/io-search b/iomenu/bin/io-search @@ -16,5 +16,5 @@ EOF [ "$path" ] || exit path="${path#\# }" - abduco-list "$path" + io "$path" done