using reverse not kv still
This commit is contained in:
@@ -24,12 +24,12 @@ prompt> ./kv p,20,andrea p,40,someotherperson
|
|||||||
```
|
```
|
||||||
|
|
||||||
The above line means the users typed in the name of the key-value
|
The above line means the users typed in the name of the key-value
|
||||||
program `reverse` (the `./` in front of it simply refers to the
|
program `kv` (the `./` in front of it simply refers to the current
|
||||||
current working directory (called dot, referred to as `.`) and the
|
working directory (called dot, referred to as `.`) and the slash (`/`)
|
||||||
slash (`/`) is a separator; thus, in this directory, look for a
|
is a separator; thus, in this directory, look for a program named
|
||||||
program named `reverse`) and gave it either no command-line arguments,
|
`kv`) and gave it either no command-line arguments, one command-line
|
||||||
one command-line argument (`p,10,remzi`), or two command-line
|
argument (`p,10,remzi`), or two command-line arguments (`p,20,andrea
|
||||||
arguments (`p,20,andrea p,40,someotherperson`).
|
p,40,someotherperson`).
|
||||||
|
|
||||||
The first invocation, with no arguments, doesn't do anything; not too
|
The first invocation, with no arguments, doesn't do anything; not too
|
||||||
exciting, eh?
|
exciting, eh?
|
||||||
@@ -195,7 +195,7 @@ undo them. A simple way to do this is to keep copies around, by
|
|||||||
explicitly making copies of the file at various points during
|
explicitly making copies of the file at various points during
|
||||||
development. For example, let's say you get a simple version of `kv.c`
|
development. For example, let's say you get a simple version of `kv.c`
|
||||||
working (say, that just reads in the file); type `cp kv.c kv.v1.c` to
|
working (say, that just reads in the file); type `cp kv.c kv.v1.c` to
|
||||||
make a copy into the file `reverse.v1.c`. More sophisticated
|
make a copy into the file `kv.v1.c`. More sophisticated
|
||||||
developers use version control systems such as git; such a tool is
|
developers use version control systems such as git; such a tool is
|
||||||
well worth learning, so do it!
|
well worth learning, so do it!
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user