|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: b
Length: 1990 (0x7c6)
Names: »basename.1«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat1/basename.1«
0x000…020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆ 0x020…040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e ┆ u_ a_ l User Comman┆ 0x040…060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 6e 61 6d 65 28 31 29 0a 0a 0a 0a ┆ds basename(1) ┆ 0x060…080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆ 0x080…0a0 20 20 62 61 73 65 6e 61 6d 65 2c 20 64 69 72 6e 61 6d 65 20 2d 20 64 65 6c 69 76 65 72 20 70 6f ┆ basename, dirname - deliver po┆ 0x0a0…0c0 72 74 69 6f 6e 73 20 6f 66 20 70 61 74 68 20 6e 61 6d 65 73 0a 0a 53 08 53 08 53 08 53 59 08 59 ┆rtions of path names S S S SY Y┆ 0x0c0…0e0 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 ┆ Y YN N N NT T T TA A A AX X X X┆ 0x0e0…100 0a 20 20 20 20 20 62 08 62 08 62 08 62 61 08 61 08 61 08 61 73 08 73 08 73 08 73 65 08 65 08 65 ┆ b b b ba a a as s s se e e┆ 0x100…120 08 65 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 20 73 ┆ en n n na a a am m m me e e e s┆ 0x120…140 74 72 69 6e 67 20 5b 20 73 75 66 66 69 78 20 5d 0a 20 20 20 20 20 64 08 64 08 64 08 64 69 08 69 ┆tring [ suffix ] d d d di i┆ 0x140…160 08 69 08 69 72 08 72 08 72 08 72 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d ┆ i ir r r rn n n na a a am m m m┆ 0x160…180 65 08 65 08 65 08 65 20 73 74 72 69 6e 67 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 ┆e e e e string D D D DE E E ES ┆ 0x180…1a0 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 ┆S S SC C C CR R R RI I I IP P P ┆ 0x1a0…1c0 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 ┆PT T T TI I I IO O O ON N N N ┆ 0x1c0…1e0 20 20 20 5f 08 62 5f 08 61 5f 08 73 5f 08 65 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 64 65 6c 65 ┆ _ b_ a_ s_ e_ n_ a_ m_ e dele┆ 0x1e0…200 74 65 73 20 61 6e 79 20 70 72 65 66 69 78 20 65 6e 64 69 6e 67 20 69 6e 20 2f 08 2f 08 2f 08 2f ┆tes any prefix ending in / / / /┆ 0x200…220 20 61 6e 64 20 74 68 65 20 5f 08 73 5f 08 75 5f 08 66 5f 08 66 5f 08 69 5f 08 78 20 28 69 66 0a ┆ and the _ s_ u_ f_ f_ i_ x (if ┆ 0x220…240 20 20 20 20 20 70 72 65 73 65 6e 74 20 69 6e 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f ┆ present in _ s_ t_ r_ i_ n_┆ 0x240…260 08 67 29 20 66 72 6f 6d 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 2e 20 20 54 68 ┆ g) from _ s_ t_ r_ i_ n_ g. Th┆ 0x260…280 65 20 72 65 73 75 6c 74 73 20 61 72 65 20 70 72 69 6e 74 65 64 20 6f 6e 0a 20 20 20 20 20 74 68 ┆e results are printed on th┆ 0x280…2a0 65 20 73 74 61 6e 64 61 72 64 20 6f 75 74 70 75 74 2e 20 20 54 68 65 20 5f 08 62 5f 08 61 5f 08 ┆e standard output. The _ b_ a_ ┆ 0x2a0…2c0 73 5f 08 65 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 63 6f 6d 6d 61 6e 64 20 69 73 20 6e 6f 72 6d ┆s_ e_ n_ a_ m_ e command is norm┆ 0x2c0…2e0 61 6c 6c 79 20 75 73 65 64 0a 20 20 20 20 20 69 6e 73 69 64 65 20 73 75 62 73 74 69 74 75 74 69 ┆ally used inside substituti┆ 0x2e0…300 6f 6e 20 6d 61 72 6b 73 20 28 60 08 60 08 60 08 60 60 08 60 08 60 08 60 29 20 77 69 74 68 69 6e ┆on marks (` ` ` `` ` ` `) within┆ 0x300…320 20 73 68 65 6c 6c 20 70 72 6f 63 65 64 75 72 65 73 2e 0a 0a 20 20 20 20 20 5f 08 44 5f 08 69 5f ┆ shell procedures. _ D_ i_┆ 0x320…340 08 72 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 64 65 6c 69 76 65 72 73 20 61 6c 6c 20 62 75 74 20 ┆ r_ n_ a_ m_ e delivers all but ┆ 0x340…360 74 68 65 20 6c 61 73 74 20 6c 65 76 65 6c 20 6f 66 20 74 68 65 20 70 61 74 68 20 6e 61 6d 65 20 ┆the last level of the path name ┆ 0x360…380 69 6e 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 2e 0a 0a 45 08 45 ┆in _ s_ t_ r_ i_ n_ g. E E┆ 0x380…3a0 08 45 08 45 58 08 58 08 58 08 58 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 50 08 50 08 50 08 50 ┆ E EX X X XA A A AM M M MP P P P┆ 0x3a0…3c0 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20 66 ┆L L L LE E E ES S S S The f┆ 0x3c0…3e0 6f 6c 6c 6f 77 69 6e 67 20 65 78 61 6d 70 6c 65 2c 20 69 6e 76 6f 6b 65 64 20 77 69 74 68 20 74 ┆ollowing example, invoked with t┆ 0x3e0…400 68 65 20 61 72 67 75 6d 65 6e 74 0a 20 20 20 20 20 2f 75 73 72 2f 73 72 63 2f 63 6d 64 2f 63 61 ┆he argument /usr/src/cmd/ca┆ 0x400…420 74 2e 63 2c 08 2c 08 2c 08 2c 20 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 6d 08 6d 08 6d 08 6d ┆t.c, , , , c c c co o o om m m m┆ 0x420…440 70 08 70 08 70 08 70 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 73 08 73 08 ┆p p p pi i i il l l le e e es s ┆ 0x440…460 73 08 73 20 74 08 74 08 74 08 74 68 08 68 08 68 08 68 65 08 65 08 65 08 65 20 6e 08 6e 08 6e 08 ┆s s t t t th h h he e e e n n n ┆ 0x460…480 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 64 08 64 08 64 08 64 20 66 08 ┆na a a am m m me e e ed d d d f ┆ 0x480…4a0 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 20 61 08 61 08 61 ┆f f fi i i il l l le e e e a a a┆ 0x4a0…4c0 08 61 6e 08 6e 08 6e 08 6e 64 08 64 08 64 08 64 20 6d 08 6d 08 6d 08 6d 6f 08 6f 08 6f 08 6f 76 ┆ an n n nd d d d m m m mo o o ov┆ 0x4c0…4e0 08 76 08 76 08 76 65 08 65 08 65 08 65 73 08 73 08 73 08 73 20 74 08 74 08 74 08 74 68 08 68 08 ┆ v v ve e e es s s s t t t th h ┆ 0x4e0…500 68 08 68 65 08 65 08 65 08 65 0a 20 20 20 20 20 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 74 08 ┆h he e e e o o o ou u u ut ┆ 0x500…520 74 08 74 08 74 70 08 70 08 70 08 70 75 08 75 08 75 08 75 74 08 74 08 74 08 74 20 74 08 74 08 74 ┆t t tp p p pu u u ut t t t t t t┆ 0x520…540 08 74 6f 08 6f 08 6f 08 6f 20 61 08 61 08 61 08 61 20 66 08 66 08 66 08 66 69 08 69 08 69 08 69 ┆ to o o o a a a a f f f fi i i i┆ 0x540…560 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 20 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d ┆l l l le e e e n n n na a a am m┆ 0x560…580 08 6d 08 6d 65 08 65 08 65 08 65 64 08 64 08 64 08 64 20 63 08 63 08 63 08 63 61 08 61 08 61 08 ┆ m me e e ed d d d c c c ca a a ┆ 0x580…5a0 61 74 08 74 08 74 08 74 20 69 6e 20 74 68 65 20 63 75 72 72 65 6e 74 20 64 69 72 65 63 74 6f 72 ┆at t t t in the current director┆ 0x5a0…5c0 79 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 63 63 20 24 31 0a 20 20 20 20 20 20 20 20 20 20 6d 76 ┆y: cc $1 mv┆ 0x5c0…5e0 20 61 2e 6f 75 74 20 60 62 61 73 65 6e 61 6d 65 20 24 31 20 2e 63 60 0a 0a 20 20 20 20 20 54 68 ┆ a.out `basename $1 .c` Th┆ 0x5e0…600 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 78 61 6d 70 6c 65 20 77 69 6c 6c 20 73 65 74 20 74 68 65 ┆e following example will set the┆ 0x600…620 20 73 68 65 6c 6c 20 76 61 72 69 61 62 6c 65 20 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 ┆ shell variable N N N NA A A AM ┆ 0x620…640 4d 08 4d 08 4d 45 08 45 08 45 08 45 20 74 6f 0a 20 20 20 20 20 2f 75 73 72 2f 73 72 63 2f 63 6d ┆M M ME E E E to /usr/src/cm┆ 0x640…660 64 3a 08 3a 08 3a 08 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 4e 41 4d 45 3d 60 64 69 72 6e 61 6d ┆d: : : : NAME=`dirnam┆ 0x660…680 65 20 2f 75 73 72 2f 73 72 63 2f 63 6d 64 2f 63 61 74 2e 08 2e 08 2e 08 2e 63 60 0a 0a 53 08 53 ┆e /usr/src/cmd/cat. . . .c` S S┆ 0x680…6a0 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 ┆ S SE E E EE E E E A A A AL L L ┆ 0x6a0…6c0 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e ┆LS S S SO O O O User Comman┆ 0x6c0…6e0 64 73 20 28 31 29 3a 20 20 73 68 0a 0a 4c 08 4c 08 4c 08 4c 49 08 49 08 49 08 49 4d 08 4d 08 4d ┆ds (1): sh L L L LI I I IM M M┆ 0x6e0…700 08 4d 49 08 49 08 49 08 49 54 08 54 08 54 08 54 41 08 41 08 41 08 41 54 08 54 08 54 08 54 49 08 ┆ MI I I IT T T TA A A AT T T TI ┆ 0x700…720 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 53 08 53 08 53 08 53 0a 20 20 20 20 20 ┆I I IO O O ON N N NS S S S ┆ 0x720…740 54 68 65 20 5f 08 62 5f 08 61 5f 08 73 5f 08 65 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 6f 66 20 ┆The _ b_ a_ s_ e_ n_ a_ m_ e of ┆ 0x740…760 2f 08 2f 08 2f 08 2f 20 69 73 20 6e 75 6c 6c 20 61 6e 64 20 69 73 20 63 6f 6e 73 69 64 65 72 65 ┆/ / / / is null and is considere┆ 0x760…780 64 20 61 6e 20 65 72 72 6f 72 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 ┆d an error. March 1989 ┆ 0x780…7a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 55 73 ┆ TX Us┆ 0x7a0…7c0 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆er's Reference ┆ 0x7c0…7c6 0a 0a 0a 0a 0a 0a ┆ ┆