JustAnotherArchivist пре 2 година
родитељ
комит
a14939b069
1 измењених фајлова са 5 додато и 0 уклоњено
  1. +5
    -0
      base64url

+ 5
- 0
base64url Прегледај датотеку

@@ -0,0 +1,5 @@
#!/bin/bash
# Like base64 but for the URL-safe alphabet A-Za-z0-9-_ (instead of A-Za-z0-9+/).
# This works by replacing occurrences of - with + and vice-versa, and likewise with _ and /.
# Does not support passing the filename by argument.
tr -- '\-_+/' '+/\-_' | base64 "$@"

Loading…
Откажи
Сачувај