mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-15 23:35:34 +00:00
[.mailcap] Seems that filenames with apostrohes and brackets are not handled properly
Compile: gcc -o echo.exe echo.c
This commit is contained in:
parent
9b367de33b
commit
3af1280501
|
@ -1 +1 @@
|
||||||
audio/*; echo '{"command":["loadfile","%s","append-play"]}' | socat - /tmp/mpv.sock 2> /dev/null > /dev/null
|
audio/*; echo.exe %s | socat - /tmp/mpv.sock 2> /dev/null > /dev/null
|
||||||
|
|
8
contrib/audio/echo.c
Normal file
8
contrib/audio/echo.c
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
main(int argc, char **argv)
|
||||||
|
{
|
||||||
|
printf("{\"command\":[\"loadfile\",\"%s\",\"append-play\"]}\n", argv[1]);
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user