From 1e7c8451aecee445f63fe6805d76c19f524ea77b Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 10 Jul 2026 00:02:45 +0400 Subject: [PATCH] bash-back name --- bin/{bash-strict2.sh => bash-back} | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) rename bin/{bash-strict2.sh => bash-back} (86%) diff --git a/bin/bash-strict2.sh b/bin/bash-back similarity index 86% rename from bin/bash-strict2.sh rename to bin/bash-back index 73045b5..f723e21 100755 --- a/bin/bash-strict2.sh +++ b/bin/bash-back @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # CONSTANTS DEBUG=true @@ -10,10 +10,6 @@ SCRIPT=$1 function exit { code=${1:-0} - # a bit of magic: read content of file still on write! - # count=$(wc -c $TMP_ERROR | cut -d' ' -f1) - # content=$(head -qc$count $TMP_ERROR) - if [[ -s $TMP_ERROR ]]; then content=$(<$TMP_ERROR) $DEBUG && >/dev/tty echo '---stderr---'