INNER CODE UNIT · Shell

filepath_temp

todotxt/todo.txt-cli · todo.sh:40

        filepath_temp=${TMPDIR-/tmp}/todo.sh-sed.$RANDOM.$$
        command sed "$@" > "$filepath_temp" && mv "$filepath_temp" "$filepath"
    else
        command sed "$@"
    fi
}
[ "$TODOTXT_SED_EXPORT_FOR_ADDONS" = 1 ] \
    && export -f sed

usage()
{
    cat >&2 <<-EndUsage
		Usage: $oneline_usage
		Try '$TODO_SH -h' for more information.
	EndUsage
    exit 1
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…