# http://kx.com/q/e/json.k problem

**URL:** <https://forum.kx.com/t/http-kx-com-q-e-json-k-problem/8942>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [July 12, 2014, 10:53pm UTC](https://forum.kx.com/t/http-kx-com-q-e-json-k-problem/8942 "2014-07-12T22:53:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ag12](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@ag12](https://forum.kx.com/u/ag12)\
**Post date:** [July 12, 2014, 10:53pm UTC](https://forum.kx.com/t/http-kx-com-q-e-json-k-problem/8942/1 "2014-07-12T22:53:00Z")

</div>

**downloaded &nbsp;** \*\* [http://kx.com/q/e/json.k](http://kx.com/q/e/json.k)\*\*

**but ran into this problem**

**$** q f json.k

KDB+ 3.1 2014.07.01 Copyright (C) 1993-2014 Kx Systems

m32/ 4()core 4096MB agoyal dn51b17j.sunet 10.21.132.243 NONEXPIRE &nbsp;

Welcome to kdb+ 32bit edition

For support please see [http://groups.google.com/d/forum/personal-kdbplus](http://groups.google.com/d/forum/personal-kdbplus)

Tutorials can be found at [http://code.kx.com/wiki/Tutorials](http://code.kx.com/wiki/Tutorials)

To exit, type \

To remove this startup msg, edit q.q

k){if[$[1\>@d:!f:-1!x;1;`.d~*d];:.[$[qt d;*|`:f;`.];();:;d:. f]];d@:&~d like"*$";p:(d=`par.txt)|d like"[0-9]\*";

&nbsp;."\cd “,$x;f .q.set’{$[0h\>@!x:-1!x;. x;x`]}'f:d@&~(d=`html)|p|s:”.“in’$d;if[|/p;L d@&p];if[~`.=x;(.”\l ",$:)'d@&s&~p];}

'f: No such file or directory

.:

`:f

q.Q))\

---

<div class="post-metadata">

**Author:** ![manni\_patel](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@manni\_patel](https://forum.kx.com/u/manni_patel)\
**Post date:** [July 13, 2014, 8:10am UTC](https://forum.kx.com/t/http-kx-com-q-e-json-k-problem/8942/2 "2014-07-13T08:10:00Z")

</div>

**$** &nbsp;q **f** json.k

What’s the intention f in your command line?

---

<div class="post-metadata">

**Author:** ![ag12](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@ag12](https://forum.kx.com/u/ag12)\
**Post date:** [July 15, 2014, 7:55am UTC](https://forum.kx.com/t/http-kx-com-q-e-json-k-problem/8942/3 "2014-07-15T07:55:00Z")

</div>

I was trying to load json.k as per [http://code.kx.com/wiki/Reference/Cmdline](http://code.kx.com/wiki/Reference/Cmdline)

The command line has the form:

```
q [f] [-b] [-c r c] [-C r c] [-e 0|1] [-g 0|1] [-l] [-L][-o N] [-p N] [-P N] [-q] [-r :H:P] [-s N] [-t N] [-T N] [-u|U F] [-w N] [-W N] [-z 0|1]

```

  
**f** this is either the script to load (\*.q, \*.k, \*.s), or a file or directory

On Sunday, July 13, 2014 12:10:47 AM UTC-7, manish patel wrote:

> **$** &nbsp;q **f** json.k
> 
> What’s the intention f in your command line?

---

<div class="post-metadata">

**Author:** ![manni\_patel](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@manni\_patel](https://forum.kx.com/u/manni_patel)\
**Post date:** [July 15, 2014, 8:33am UTC](https://forum.kx.com/t/http-kx-com-q-e-json-k-problem/8942/4 "2014-07-15T08:33:00Z")

</div>

f there is the file/dir you’re loading into q, not a literal f
