From 1429ef20f0b1ce2c79f1397c04314cdc8e10f6a4 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 5 Sep 2019 14:22:52 +0200 Subject: [PATCH] update notes --- doc/path_notes.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/path_notes.md b/doc/path_notes.md index 334b435b0..bcdc19e33 100644 --- a/doc/path_notes.md +++ b/doc/path_notes.md @@ -210,6 +210,7 @@ You can skip the script file extension, it works equally well with. ### Shebangs (on *nix) + You can also use the magic of shebangs to make an executable script, e.g. taking the example above, we can write: ``` @@ -225,5 +226,10 @@ $> ./myscript.cmd And it will be executed invoking the `pm3` script. -use the following if your script is intended to work offline. -`#!/usr/bin/env -S proxmark3 -s` +Use the following if your script is intended to work offline. + +``` +#!/usr/bin/env -S proxmark3 -s +``` + +Beware the shebang trick is not available on all the platforms, it requires your `env` to accept the `-S` switch.