Skip to content
Snippets Groups Projects
Commit d51efb55 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

remove space

parent 27706b8b
No related branches found
No related tags found
1 merge request!132fix: get filename from select with single value
......@@ -569,7 +569,7 @@ EOH
# if there is a single dump in backup folder:
# '-rw-r--r-- 1 root root 481 Mar 13 12:27 ahcrawler__20240313-1227.sql.gz'
# --> take the last part behind the last space to get a filename
grep "[rwxsSt\-]{10,} " <<< "$LASTINPUT" \
grep "[rwxsSt\-]{10,} " <<< "$LASTINPUT" \
&& dbfile="$(rev <<< \'"$LASTINPUT"\' | cut -d ' ' -f 1 | rev)"
echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment