File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -243,13 +243,13 @@ pipe :copy "sa-learn-ham.sh" [ "${username}" ];
243243``` sh[sa-learn-spam.sh]
244244#!/bin/sh
245245# you can also use tcp/ip here, consult spamc(1)
246- exec /usr/bin/spamc -u ${1} -L spam
246+ exec /usr/bin/spamc -u "$1" -L spam
247247```
248248
249249``` sh[sa-learn-ham.sh]
250250#!/bin/sh
251251# you can also use tcp/ip here, consult spamc(1)
252- exec /usr/bin/spamc -u ${1} -L ham
252+ exec /usr/bin/spamc -u "$1" -L ham
253253```
254254:::
255255
@@ -267,12 +267,12 @@ spamc for further details.
267267::: code-group
268268``` sh[sa-learn-spam.sh]
269269#!/bin/sh
270- exec /usr/bin/sa-learn -u ${1} --spam
270+ exec /usr/bin/sa-learn -u "$1" --spam
271271```
272272
273273``` sh[sa-learn-ham.sh]
274274#!/bin/sh
275- exec /usr/bin/sa-learn -u ${1} --ham
275+ exec /usr/bin/sa-learn -u "$1" --ham
276276```
277277:::
278278
@@ -281,12 +281,12 @@ exec /usr/bin/sa-learn -u ${1} --ham
281281::: code-group
282282``` sh[sa-learn-spam.sh]
283283#!/bin/sh
284- exec /usr/bin/dspam --client --user ${1} --class=spam --source=error
284+ exec /usr/bin/dspam --client --user "$1" --class=spam --source=error
285285```
286286
287287``` sh[sa-learn-ham.sh]
288288#!/bin/sh
289- exec /usr/bin/dspam --client --user ${1} --class=innocent --source=error
289+ exec /usr/bin/dspam --client --user "$1" --class=innocent --source=error
290290```
291291:::
292292
You can’t perform that action at this time.
0 commit comments