Here's what a sample test-case looks like:
(Sample.tar)
csh> tar tfv Sample.tar
rw-r--r--3064/3000 945 Nov 13 18:42 1988 fstab.sd
rw-r--r--3064/3000 942 Nov 13 18:47 1988 fstab.sd.X
rw-r--r--3064/100 1 May 12 19:38 1989 fstab.swap.slice
rw-r--r--3064/3000 1030 Nov 13 18:42 1988 fstab.xy
% ← &s ← FS.StreamOpen[fileName: "Sample.tar", extendFileProc: NIL]
^[streamProcs: 3347062B^, streamData: 21274362B^, propList: 7642204B^, backingStream: NIL]
% ← &h ← TarImpl.GetHeader[&s]
[name: (100)['f, 's, 't, 'a, 'b, '., 's, 'd, '\000, ...],
mode: (8)[' , ' , ' , '6, '4, '4, ' , '\000],
uid: (8)[' , ' , '5, '7, '7, '0, ' , '\000],
gid: (8)[' , ' , '5, '6, '7, '0, ' , '\000],
size: (12)[' , ' , ' , ' , ' , ' , ' , '1, '6, '6, '1, ' ],
mtime: (12)[' , '4, '3, '3, '7, '4, '4, '4, '0, '2, '6, ' ],
chksum: (8)[' , ' , '5, '6, '5, '3, '\000, ' ],
linkflag: ??,
linkname: (100)['\000, ...]
]
% ← &s ← FS.StreamOpen[fileName: "Sample.tar", extendFileProc: NIL]
^[streamProcs: 3347062B^, streamData: 21274362B^, propList: 7642204B^, backingStream: NIL]
% ← TarImpl.stdout ← &stdout[]
% ← TarImpl.Scan[&s, TarImpl.PrintInfo]