You are not logged in.

#1 2015-08-20 19:35:12

ctown.myth
Member
Registered: 2010-02-10
Posts: 169

[SOLVED] Wiki account creation: wrong answer

Trying to create a wiki account, but apparently the output is incorrect:

$ date -u +%V`uname` | sha256sum | sed 's/\W//g'
8bd7b17e14378c99135afa4d0412bef5a59d5e8ade4bd7bed33d2fd2b1301fee
$ date -u +%V`uname`
34`uname`

I have tried 35`uname` and 33`uname`, none work. JavaScript is on, and tried with uBlock and Ghostery off as well. None have worked. Any ideas?

Last edited by ctown.myth (2015-08-20 20:23:46)


AKA MyCookie!

Offline

#2 2015-08-20 19:37:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Wiki account creation: wrong answer

What's the output of

type uname

Offline

#3 2015-08-20 19:46:30

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 748

Re: [SOLVED] Wiki account creation: wrong answer

Is there actually a shell that does not support the backtick syntax for subshells? If uname were not found, the shell should print an error (at least bash does):

$ date -u +%V`foo`
bash: foo: command not found
34

Offline

#4 2015-08-20 19:48:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Wiki account creation: wrong answer

Ah, yes, fish doesn't support backtics.
http://fishshell.com/docs/current/faq.h … subcommand

Last edited by karol (2015-08-20 19:50:21)

Offline

#5 2015-08-20 20:22:20

ctown.myth
Member
Registered: 2010-02-10
Posts: 169

Re: [SOLVED] Wiki account creation: wrong answer

lahwaacz wrote:

Is there actually a shell that does not support the backtick syntax for subshells? If uname were not found, the shell should print an error (at least bash does):

$ date -u +%V`foo`
bash: foo: command not found
34
karol wrote:

Ah, yes, fish doesn't support backtics.
http://fishshell.com/docs/current/faq.h … subcommand


And that's it! Thanks karol & lahwaacz!


AKA MyCookie!

Offline

Board footer

Powered by FluxBB