oh, nested quoting

This commit is contained in:
Joey Hess 2013-05-13 14:52:14 -04:00
parent 5a4dd9ae2a
commit fd2ca596bc

View file

@ -8,13 +8,13 @@ Well, it would be possible to add a configuration setting in the repository that
But maybe it would be better to not use `assistant --autostart` in your situation? That command is basically the same as this shell script: But maybe it would be better to not use `assistant --autostart` in your situation? That command is basically the same as this shell script:
[[!format sh """ [[!format sh "
#!/bin/sh #!/bin/sh
for dir in $(cat $HOME/.config/git-annex/autostart); do for dir in $(cat $HOME/.config/git-annex/autostart); do
cd $dir cd $dir
git annex webapp & git annex webapp &
done done
"""]] "]]
So you can write similar shell scripts that start the webapp with whatever options you like. So you can write similar shell scripts that start the webapp with whatever options you like.
"""]] """]]