mirror of
git://git.qorg11.net/kill9.git
synced 2024-12-12 11:24:51 +00:00
Added article about pax(1)
and fixed a typo in roff
This commit is contained in:
parent
d690c2bdfe
commit
ee1f7f46f3
32
rocks/computers/software/pax.md
Normal file
32
rocks/computers/software/pax.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# pax(1) is a well done tar(1)
|
||||||
|
|
||||||
|
pax(1) allows you to create .tar files in a UNIX way:
|
||||||
|
|
||||||
|
~~~
|
||||||
|
# create a tar file of a directory
|
||||||
|
pax -w directory > directory.tar
|
||||||
|
# see the contents of a tar file
|
||||||
|
pax < directory.tar
|
||||||
|
# extract contents
|
||||||
|
pax -r < directory.tar
|
||||||
|
# create a compressed tar file
|
||||||
|
pax -w directory | gzip > directory.tar.gz
|
||||||
|
# decompress a file
|
||||||
|
zcat directory.tar.gz | pax -r
|
||||||
|
~~~
|
||||||
|
|
||||||
|
These are tar files, so they're compatible with tar(1)
|
||||||
|
|
||||||
|
You can also use pax(1) in a cringe, non UNIX way:
|
||||||
|
|
||||||
|
|
||||||
|
~~~
|
||||||
|
# create a .tar file
|
||||||
|
pax -w -f dir.tar dir
|
||||||
|
# create a compressed file
|
||||||
|
pax -zw -f dir.tar.gz dir
|
||||||
|
# decompress a file
|
||||||
|
pax -zr -f dir.tar.gz
|
||||||
|
~~~
|
||||||
|
|
||||||
|
(I think you get the point)
|
@ -61,7 +61,7 @@ a sup 2 over 2
|
|||||||
.EN
|
.EN
|
||||||
.EQ
|
.EQ
|
||||||
x = {
|
x = {
|
||||||
b +- sqrt {-b sup 2 * 4ac}
|
b +- sqrt {-b sup 2 - 4ac}
|
||||||
} over 2a
|
} over 2a
|
||||||
.EN
|
.EN
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user