Use sed, grep, or awk without perl to replicate positive lookbehindWhat are the differences between Perl, Python, AWK and sed?How to do a recursive find/replace of a string with awk or sed?What is the difference between sed and awk?Insert a line at specific line number with sed or awkWhat are the differences among grep, awk & sed?Swap two columns - awk, sed, python, perlFormatting git log output with sed/awk/grepSubstituting words with sed awk or grepSed or Awk or Perl substitution in a sentenceGrep/Sed/Awk Options
N.B. ligature in Latex
Set up public ip on server
cryptic clue: mammal sounds like relative consumer (8)
Is it possible to make sharp wind that can cut stuff from afar?
Can you lasso down a wizard who is using the Levitate spell?
Why a const reference doesn't extend the life of temporary object passed via function?
Magento2: Product backend page error
Factorio analysis: data munging
LM317 - Calculate dissipation due voltage drop
Could a US political party gain complete control over the government by removing checks & balances?
Is there a minimum number of transactions in a block?
Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?
Can town administrative "code" overule state laws like those forbidding trespassing?
Is there a way I can return more than one integer from a method?
Is this food a bread or a loaf?
Is there really no realistic way for a skeleton monster to move around without magic?
Is there a familial term for apples and pears?
How to make payment on the internet without leaving a money trail?
Are white and non-white police officers equally likely to kill black suspects?
What does "enim et" mean?
My colleague's body is amazing
What Brexit solution does the DUP want?
I see my dog run
Why Is Death Allowed In the Matrix?
Use sed, grep, or awk without perl to replicate positive lookbehind
What are the differences between Perl, Python, AWK and sed?How to do a recursive find/replace of a string with awk or sed?What is the difference between sed and awk?Insert a line at specific line number with sed or awkWhat are the differences among grep, awk & sed?Swap two columns - awk, sed, python, perlFormatting git log output with sed/awk/grepSubstituting words with sed awk or grepSed or Awk or Perl substitution in a sentenceGrep/Sed/Awk Options
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I need to extract RJ3fadfiasdUYBxF6z
from:
"user":"id":1325135,"uuid":"134513451","email":"ansdfaha@aol.com","joined_at":"2012-01-01T013:511:124.000Z","username":"testicl","title":"testli","thumb":"https://plex.tv/user/avatar?c=","hasPassword":true,"authToken":"RJ3fadfiasdUYBxF6z","authentication_token":"RJ3fadfiasdUYBxF6z","subscription":"active":false,"status":"Inactive","plan":null,"features":["adaptive_bitrate","collections","photos-metadata-edition","radio","photos-favorites","federated-auth","Android - PiP","publishing_platform","news","kevin-bacon","client-radio-stations","TREBLE-show-features","web_server_dashboard","conan_redirect_qa","conan_redirect_alpha","conan_redirect_beta","transcoder_cache"],"roles":"roles":[],"entitlements":[],"confirmedAt":"2012-01-01T13:31:31.000Z","forumId":23573,"rememberMe":false
regex with PCRP works great
(?<=authToken":")(w+)
How can I extract RJ3fadfiasdUYBxF6z
using either awk
, sed
, or grep
without positive lookbehind? I don't have perl support.
I'm doing this out of a bash script on an openwrt router.
json regex bash awk sed
add a comment |
I need to extract RJ3fadfiasdUYBxF6z
from:
"user":"id":1325135,"uuid":"134513451","email":"ansdfaha@aol.com","joined_at":"2012-01-01T013:511:124.000Z","username":"testicl","title":"testli","thumb":"https://plex.tv/user/avatar?c=","hasPassword":true,"authToken":"RJ3fadfiasdUYBxF6z","authentication_token":"RJ3fadfiasdUYBxF6z","subscription":"active":false,"status":"Inactive","plan":null,"features":["adaptive_bitrate","collections","photos-metadata-edition","radio","photos-favorites","federated-auth","Android - PiP","publishing_platform","news","kevin-bacon","client-radio-stations","TREBLE-show-features","web_server_dashboard","conan_redirect_qa","conan_redirect_alpha","conan_redirect_beta","transcoder_cache"],"roles":"roles":[],"entitlements":[],"confirmedAt":"2012-01-01T13:31:31.000Z","forumId":23573,"rememberMe":false
regex with PCRP works great
(?<=authToken":")(w+)
How can I extract RJ3fadfiasdUYBxF6z
using either awk
, sed
, or grep
without positive lookbehind? I don't have perl support.
I'm doing this out of a bash script on an openwrt router.
json regex bash awk sed
That's JSON file format. Do you have any tool that can parse JSON?
– zdim
Mar 9 at 4:08
I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.
– stinkybummer
Mar 9 at 4:09
add a comment |
I need to extract RJ3fadfiasdUYBxF6z
from:
"user":"id":1325135,"uuid":"134513451","email":"ansdfaha@aol.com","joined_at":"2012-01-01T013:511:124.000Z","username":"testicl","title":"testli","thumb":"https://plex.tv/user/avatar?c=","hasPassword":true,"authToken":"RJ3fadfiasdUYBxF6z","authentication_token":"RJ3fadfiasdUYBxF6z","subscription":"active":false,"status":"Inactive","plan":null,"features":["adaptive_bitrate","collections","photos-metadata-edition","radio","photos-favorites","federated-auth","Android - PiP","publishing_platform","news","kevin-bacon","client-radio-stations","TREBLE-show-features","web_server_dashboard","conan_redirect_qa","conan_redirect_alpha","conan_redirect_beta","transcoder_cache"],"roles":"roles":[],"entitlements":[],"confirmedAt":"2012-01-01T13:31:31.000Z","forumId":23573,"rememberMe":false
regex with PCRP works great
(?<=authToken":")(w+)
How can I extract RJ3fadfiasdUYBxF6z
using either awk
, sed
, or grep
without positive lookbehind? I don't have perl support.
I'm doing this out of a bash script on an openwrt router.
json regex bash awk sed
I need to extract RJ3fadfiasdUYBxF6z
from:
"user":"id":1325135,"uuid":"134513451","email":"ansdfaha@aol.com","joined_at":"2012-01-01T013:511:124.000Z","username":"testicl","title":"testli","thumb":"https://plex.tv/user/avatar?c=","hasPassword":true,"authToken":"RJ3fadfiasdUYBxF6z","authentication_token":"RJ3fadfiasdUYBxF6z","subscription":"active":false,"status":"Inactive","plan":null,"features":["adaptive_bitrate","collections","photos-metadata-edition","radio","photos-favorites","federated-auth","Android - PiP","publishing_platform","news","kevin-bacon","client-radio-stations","TREBLE-show-features","web_server_dashboard","conan_redirect_qa","conan_redirect_alpha","conan_redirect_beta","transcoder_cache"],"roles":"roles":[],"entitlements":[],"confirmedAt":"2012-01-01T13:31:31.000Z","forumId":23573,"rememberMe":false
regex with PCRP works great
(?<=authToken":")(w+)
How can I extract RJ3fadfiasdUYBxF6z
using either awk
, sed
, or grep
without positive lookbehind? I don't have perl support.
I'm doing this out of a bash script on an openwrt router.
json regex bash awk sed
json regex bash awk sed
edited Mar 9 at 9:16
Cyrus
47.2k43880
47.2k43880
asked Mar 9 at 4:05
stinkybummerstinkybummer
282
282
That's JSON file format. Do you have any tool that can parse JSON?
– zdim
Mar 9 at 4:08
I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.
– stinkybummer
Mar 9 at 4:09
add a comment |
That's JSON file format. Do you have any tool that can parse JSON?
– zdim
Mar 9 at 4:08
I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.
– stinkybummer
Mar 9 at 4:09
That's JSON file format. Do you have any tool that can parse JSON?
– zdim
Mar 9 at 4:08
That's JSON file format. Do you have any tool that can parse JSON?
– zdim
Mar 9 at 4:08
I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.
– stinkybummer
Mar 9 at 4:09
I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.
– stinkybummer
Mar 9 at 4:09
add a comment |
5 Answers
5
active
oldest
votes
You can use the following sed
command:
sed 's/.*"authToken":"([^"]*)".*/1/' file
add a comment |
It sounds like grep
is fair game
grep -Po '(?<=authToken":")(w+)' file
Note: This needs an extra library, libpcre
, for grep
's native PCRE support.
Sorry, I don't have perl support, but thank you!
– stinkybummer
Mar 9 at 4:18
That doesn't need Perl? It's PCRE support ingrep
... (or does it use Perl?)
– zdim
Mar 9 at 4:19
1
I see. Then perhaps it does need Perl for it -- I thoughtgrep
has that support built in natively, without Perl, but I guess not.
– zdim
Mar 9 at 4:26
1
It does not. It requires a special package for native PCRE support,libpcre
-ash: pcregrep: not found
– stinkybummer
Mar 9 at 4:35
1
I have pcregrep in my RHEL
– stack0114106
Mar 11 at 11:10
|
show 5 more comments
May be you could install jq
and use it?
jq .user.authToken < a.json
"RJ3fadfiasdUYBxF6z"
To get rid of the quotation marks add option-r
.<
is not necessary.
– Cyrus
Mar 9 at 9:10
add a comment |
Some linux flavours ships with pcregrep
where you can use the lookarounds..
Check this
$ pcregrep -o '(?<=authToken":")(w+)' json.test
RJ3fadfiasdUYBxF6z
$
Here is the version in my RHEL.
$ pcregrep --version
pcregrep version 7.8 2008-09-05
$
Actually we talked aboutpcregrep
in comments and turns outopenwrt
doesn't shipped with it, howeverpcregrep
is a good choice when it is supported :)
– Tiw
Mar 15 at 17:10
add a comment |
An awk
solution (tested under openwrt
):
awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
Or for more precisely matching, use equal ==
:
awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
$1==""authToken""
functionally equals to $1~/^"authToken"$/
but is a lit bit faster.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55073873%2fuse-sed-grep-or-awk-without-perl-to-replicate-positive-lookbehind%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use the following sed
command:
sed 's/.*"authToken":"([^"]*)".*/1/' file
add a comment |
You can use the following sed
command:
sed 's/.*"authToken":"([^"]*)".*/1/' file
add a comment |
You can use the following sed
command:
sed 's/.*"authToken":"([^"]*)".*/1/' file
You can use the following sed
command:
sed 's/.*"authToken":"([^"]*)".*/1/' file
answered Mar 9 at 4:14
blhsingblhsing
42.6k41743
42.6k41743
add a comment |
add a comment |
It sounds like grep
is fair game
grep -Po '(?<=authToken":")(w+)' file
Note: This needs an extra library, libpcre
, for grep
's native PCRE support.
Sorry, I don't have perl support, but thank you!
– stinkybummer
Mar 9 at 4:18
That doesn't need Perl? It's PCRE support ingrep
... (or does it use Perl?)
– zdim
Mar 9 at 4:19
1
I see. Then perhaps it does need Perl for it -- I thoughtgrep
has that support built in natively, without Perl, but I guess not.
– zdim
Mar 9 at 4:26
1
It does not. It requires a special package for native PCRE support,libpcre
-ash: pcregrep: not found
– stinkybummer
Mar 9 at 4:35
1
I have pcregrep in my RHEL
– stack0114106
Mar 11 at 11:10
|
show 5 more comments
It sounds like grep
is fair game
grep -Po '(?<=authToken":")(w+)' file
Note: This needs an extra library, libpcre
, for grep
's native PCRE support.
Sorry, I don't have perl support, but thank you!
– stinkybummer
Mar 9 at 4:18
That doesn't need Perl? It's PCRE support ingrep
... (or does it use Perl?)
– zdim
Mar 9 at 4:19
1
I see. Then perhaps it does need Perl for it -- I thoughtgrep
has that support built in natively, without Perl, but I guess not.
– zdim
Mar 9 at 4:26
1
It does not. It requires a special package for native PCRE support,libpcre
-ash: pcregrep: not found
– stinkybummer
Mar 9 at 4:35
1
I have pcregrep in my RHEL
– stack0114106
Mar 11 at 11:10
|
show 5 more comments
It sounds like grep
is fair game
grep -Po '(?<=authToken":")(w+)' file
Note: This needs an extra library, libpcre
, for grep
's native PCRE support.
It sounds like grep
is fair game
grep -Po '(?<=authToken":")(w+)' file
Note: This needs an extra library, libpcre
, for grep
's native PCRE support.
edited Mar 11 at 7:14
answered Mar 9 at 4:14
zdimzdim
34.4k32443
34.4k32443
Sorry, I don't have perl support, but thank you!
– stinkybummer
Mar 9 at 4:18
That doesn't need Perl? It's PCRE support ingrep
... (or does it use Perl?)
– zdim
Mar 9 at 4:19
1
I see. Then perhaps it does need Perl for it -- I thoughtgrep
has that support built in natively, without Perl, but I guess not.
– zdim
Mar 9 at 4:26
1
It does not. It requires a special package for native PCRE support,libpcre
-ash: pcregrep: not found
– stinkybummer
Mar 9 at 4:35
1
I have pcregrep in my RHEL
– stack0114106
Mar 11 at 11:10
|
show 5 more comments
Sorry, I don't have perl support, but thank you!
– stinkybummer
Mar 9 at 4:18
That doesn't need Perl? It's PCRE support ingrep
... (or does it use Perl?)
– zdim
Mar 9 at 4:19
1
I see. Then perhaps it does need Perl for it -- I thoughtgrep
has that support built in natively, without Perl, but I guess not.
– zdim
Mar 9 at 4:26
1
It does not. It requires a special package for native PCRE support,libpcre
-ash: pcregrep: not found
– stinkybummer
Mar 9 at 4:35
1
I have pcregrep in my RHEL
– stack0114106
Mar 11 at 11:10
Sorry, I don't have perl support, but thank you!
– stinkybummer
Mar 9 at 4:18
Sorry, I don't have perl support, but thank you!
– stinkybummer
Mar 9 at 4:18
That doesn't need Perl? It's PCRE support in
grep
... (or does it use Perl?)– zdim
Mar 9 at 4:19
That doesn't need Perl? It's PCRE support in
grep
... (or does it use Perl?)– zdim
Mar 9 at 4:19
1
1
I see. Then perhaps it does need Perl for it -- I thought
grep
has that support built in natively, without Perl, but I guess not.– zdim
Mar 9 at 4:26
I see. Then perhaps it does need Perl for it -- I thought
grep
has that support built in natively, without Perl, but I guess not.– zdim
Mar 9 at 4:26
1
1
It does not. It requires a special package for native PCRE support,
libpcre
-ash: pcregrep: not found
– stinkybummer
Mar 9 at 4:35
It does not. It requires a special package for native PCRE support,
libpcre
-ash: pcregrep: not found
– stinkybummer
Mar 9 at 4:35
1
1
I have pcregrep in my RHEL
– stack0114106
Mar 11 at 11:10
I have pcregrep in my RHEL
– stack0114106
Mar 11 at 11:10
|
show 5 more comments
May be you could install jq
and use it?
jq .user.authToken < a.json
"RJ3fadfiasdUYBxF6z"
To get rid of the quotation marks add option-r
.<
is not necessary.
– Cyrus
Mar 9 at 9:10
add a comment |
May be you could install jq
and use it?
jq .user.authToken < a.json
"RJ3fadfiasdUYBxF6z"
To get rid of the quotation marks add option-r
.<
is not necessary.
– Cyrus
Mar 9 at 9:10
add a comment |
May be you could install jq
and use it?
jq .user.authToken < a.json
"RJ3fadfiasdUYBxF6z"
May be you could install jq
and use it?
jq .user.authToken < a.json
"RJ3fadfiasdUYBxF6z"
answered Mar 9 at 4:25
Fedor DikarevFedor Dikarev
33229
33229
To get rid of the quotation marks add option-r
.<
is not necessary.
– Cyrus
Mar 9 at 9:10
add a comment |
To get rid of the quotation marks add option-r
.<
is not necessary.
– Cyrus
Mar 9 at 9:10
To get rid of the quotation marks add option
-r
. <
is not necessary.– Cyrus
Mar 9 at 9:10
To get rid of the quotation marks add option
-r
. <
is not necessary.– Cyrus
Mar 9 at 9:10
add a comment |
Some linux flavours ships with pcregrep
where you can use the lookarounds..
Check this
$ pcregrep -o '(?<=authToken":")(w+)' json.test
RJ3fadfiasdUYBxF6z
$
Here is the version in my RHEL.
$ pcregrep --version
pcregrep version 7.8 2008-09-05
$
Actually we talked aboutpcregrep
in comments and turns outopenwrt
doesn't shipped with it, howeverpcregrep
is a good choice when it is supported :)
– Tiw
Mar 15 at 17:10
add a comment |
Some linux flavours ships with pcregrep
where you can use the lookarounds..
Check this
$ pcregrep -o '(?<=authToken":")(w+)' json.test
RJ3fadfiasdUYBxF6z
$
Here is the version in my RHEL.
$ pcregrep --version
pcregrep version 7.8 2008-09-05
$
Actually we talked aboutpcregrep
in comments and turns outopenwrt
doesn't shipped with it, howeverpcregrep
is a good choice when it is supported :)
– Tiw
Mar 15 at 17:10
add a comment |
Some linux flavours ships with pcregrep
where you can use the lookarounds..
Check this
$ pcregrep -o '(?<=authToken":")(w+)' json.test
RJ3fadfiasdUYBxF6z
$
Here is the version in my RHEL.
$ pcregrep --version
pcregrep version 7.8 2008-09-05
$
Some linux flavours ships with pcregrep
where you can use the lookarounds..
Check this
$ pcregrep -o '(?<=authToken":")(w+)' json.test
RJ3fadfiasdUYBxF6z
$
Here is the version in my RHEL.
$ pcregrep --version
pcregrep version 7.8 2008-09-05
$
answered Mar 11 at 11:09
stack0114106stack0114106
4,9832423
4,9832423
Actually we talked aboutpcregrep
in comments and turns outopenwrt
doesn't shipped with it, howeverpcregrep
is a good choice when it is supported :)
– Tiw
Mar 15 at 17:10
add a comment |
Actually we talked aboutpcregrep
in comments and turns outopenwrt
doesn't shipped with it, howeverpcregrep
is a good choice when it is supported :)
– Tiw
Mar 15 at 17:10
Actually we talked about
pcregrep
in comments and turns out openwrt
doesn't shipped with it, however pcregrep
is a good choice when it is supported :)– Tiw
Mar 15 at 17:10
Actually we talked about
pcregrep
in comments and turns out openwrt
doesn't shipped with it, however pcregrep
is a good choice when it is supported :)– Tiw
Mar 15 at 17:10
add a comment |
An awk
solution (tested under openwrt
):
awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
Or for more precisely matching, use equal ==
:
awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
$1==""authToken""
functionally equals to $1~/^"authToken"$/
but is a lit bit faster.
add a comment |
An awk
solution (tested under openwrt
):
awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
Or for more precisely matching, use equal ==
:
awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
$1==""authToken""
functionally equals to $1~/^"authToken"$/
but is a lit bit faster.
add a comment |
An awk
solution (tested under openwrt
):
awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
Or for more precisely matching, use equal ==
:
awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
$1==""authToken""
functionally equals to $1~/^"authToken"$/
but is a lit bit faster.
An awk
solution (tested under openwrt
):
awk -F: -v RS=, '$1~/"authToken"/gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
Or for more precisely matching, use equal ==
:
awk -F: -v RS=, '$1==""authToken""gsub(""","",$2);print $2' file
RJ3fadfiasdUYBxF6z
$1==""authToken""
functionally equals to $1~/^"authToken"$/
but is a lit bit faster.
edited Mar 9 at 15:02
answered Mar 9 at 4:18
TiwTiw
4,39761730
4,39761730
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55073873%2fuse-sed-grep-or-awk-without-perl-to-replicate-positive-lookbehind%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
That's JSON file format. Do you have any tool that can parse JSON?
– zdim
Mar 9 at 4:08
I'm doing this out of a bash script on an openwrt router, so I don't think so? Trying to keep it as light as possible. I'm a super newb.
– stinkybummer
Mar 9 at 4:09