mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
using | instead of , as delimiter in sed expressions because of problems with Sun's sed
This commit is contained in:
parent
19611a8087
commit
1c4a68d08c
2
Makefile
2
Makefile
@ -57,7 +57,7 @@ install: all
|
||||
done
|
||||
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
|
||||
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
|
||||
@sed 's/VERSION/${VERSION}/g ; s,CONFPREFIX,${CONFPREFIX},g' < wmii.1 > ${DESTDIR}${MANPREFIX}/man1/wmii.1
|
||||
@sed 's/VERSION/${VERSION}/g ; s|CONFPREFIX|${CONFPREFIX}|g' < wmii.1 > ${DESTDIR}${MANPREFIX}/man1/wmii.1
|
||||
@sed 's/VERSION/${VERSION}/g' < wmiir.1 > ${DESTDIR}${MANPREFIX}/man1/wmiir.1
|
||||
@sed 's/VERSION/${VERSION}/g' < wmiiwm.1 > ${DESTDIR}${MANPREFIX}/man1/wmiiwm.1
|
||||
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/wmii.1
|
||||
|
@ -20,7 +20,7 @@ conf_which () {
|
||||
|
||||
tagsmenu() {
|
||||
tag=`wmiir read /tag/sel/ctl`
|
||||
tags=`wmiir ls /tag | sed 's,/,,; /^sel$/d' | awk "BEGIN{print \"$tag\"} !/^$tag\$/" | $DMENU \
|
||||
tags=`wmiir ls /tag | sed 's|/||; /^sel$/d' | awk "BEGIN{print \"$tag\"} !/^$tag\$/" | $DMENU \
|
||||
| sed 's/^\.\.\?$//; s/^\.\.\?+//g; s/+\.\.\?$//g; s/+\.\.\?+/+/g; s/\W//'`
|
||||
test -n "$tags" && xwrite $@ "$tags"
|
||||
}
|
||||
@ -129,7 +129,7 @@ do
|
||||
done
|
||||
|
||||
seltag="`wmiir read /tag/sel/ctl 2>/dev/null`"
|
||||
wmiir ls /tag | sed -e 's,/$,,; /^sel$/d' |
|
||||
wmiir ls /tag | sed -e 's|/$||; /^sel$/d' |
|
||||
while read tag
|
||||
do
|
||||
if [ "X$tag" = "X$seltag" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user