summaryrefslogtreecommitdiff
path: root/libsurf-webext.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2017-05-04 16:49:17 +0200
committerQuentin Rameau <quinq@fifth.space>2017-05-08 11:30:20 +0200
commit654d527f87e59c6c9f507402878bed62398c4e61 (patch)
treeee8edfe2fabe313c1bcfe01efbfa363f87ad847c /libsurf-webext.c
parentd984d12de719f6a8e7f96c04ad3a53ab73a27df8 (diff)
downloadsurf-654d527f87e59c6c9f507402878bed62398c4e61.tar.gz
surf-654d527f87e59c6c9f507402878bed62398c4e61.tar.bz2
surf-654d527f87e59c6c9f507402878bed62398c4e61.zip
Simplify SETPROP macro
Get rid of xargs by using a subshell instead. Use two replacement commands in sed because back-references in BRE are too differently implemented in different libc. Rename p, q, to reflect what they're used for. Reorder sh positional arguments. Set $0 to a command name and shift other positional parameters to clarify the "sh -c" command.
Diffstat (limited to 'libsurf-webext.c')
0 files changed, 0 insertions, 0 deletions