solve_gsed 355 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13

#! /bin/bash 

function solve_gsed() {        
source script/show_solutions
source script/discover_package_manager
discover_package_manager $1
pcman=$discover_package_manager_ret

if [ x"$pcman" = x"" ]; then
        exit 1
fi

14
if [ x"$1" == x"osx" ]; then 
15 16 17 18 19
        commands[0]="$pcman install gnu-sed"
        possible_solutions "${commands[@]}"
fi 
}