From 634b53e80ef2c110f1e3bee1521c0a20d3924af9 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Tue, 23 May 2023 19:42:05 -0400 Subject: [PATCH] Better feedback and instructions for exstage4 --- README.md | 5 +++++ exstage4.sh | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72df8a5..ec268e0 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,11 @@ Usage: We provide a script for convenient extraction, `exstage4`, which is shipped with this package. Currently it simply automates the Multi-threaded extraction selection listed below and otherwise has no functionality except checking that the file name looks sane. If in doubt, use one of the explicit extraction methods described below. +Otherwise, you can extract an archive inplace with: + +```bash +exstage4 archive_name.tar.bz2 +``` ### Explicit Single-threaded diff --git a/exstage4.sh b/exstage4.sh index c2393b8..7756a2a 100755 --- a/exstage4.sh +++ b/exstage4.sh @@ -2,8 +2,6 @@ STAGE_FILE=${1} -echo "${STAGE_FILE}" - EXT="${STAGE_FILE##*.}" TARFILE="${STAGE_FILE%%.$EXT}"