open: use cut instead of awk

This commit is contained in:
NRK
2021-08-09 16:26:11 +06:00
parent ebd338529c
commit 0120190fb2

2
sxbm
View File

@ -158,7 +158,7 @@ bm_open() {
[ "$LINK_NUM" -gt 1 ] && [ -z "$FORCE" ] &&
die "Too many links\nUse '$APPNAME open -f' to force open them all\n\n$LINK"
setsid $BROWSER $( echo "$LINK" | awk '{print $2;}' ) 1>/dev/null 2>&1
setsid $BROWSER $( echo "$LINK" | cut -d " " -f 2 ) 1>/dev/null 2>&1
}
bm_edit() {