File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,8 @@ strings-cp932.c: _cp932tab.c
12
12
_cp932tab.c : cp932tab.awk CP932.TXT
13
13
awk -f cp932tab.awk -F' ' CP932.TXT > $@
14
14
15
+ $(TARG ) .1 : $(TARG ) .1.scd
16
+ scdoc < $< > $@ || rm $@
17
+
15
18
clean :
16
19
rm -f $(TARG ) $(OFILES ) _cp932tab.c
Original file line number Diff line number Diff line change
1
+ STRINGS-CP932(1)
2
+
3
+ # NAME
4
+
5
+ strings-cp932 - extract printable windows-31j/cp932 strings
6
+
7
+ # SYNOPSIS
8
+
9
+ * strings-cp932* [ -t _ format_ ] [ _ file_ ...]
10
+
11
+ # DESCRIPTION
12
+
13
+ _ Strings-cp932_ finds and prints strings containing printable
14
+ Windows-31J-encoded characters in a file, default standard input. Printable
15
+ characters are taken to be ASCII characters from blank through tilde
16
+ (hexadecimal 20 through 7E), inclusive, and all other characters defined
17
+ in the Windows-31J character set. If _ -t_ is passed, _ strings-cp932_ prepends
18
+ file offsets to found strings. The _ format_ argument passed to _ -t_ can be
19
+ _ d_ for decimal offsets, _ x_ for hexadecimal offsets or _ o_ for octal offsets.
20
+
21
+ # BUGS
22
+
23
+ * -n* is not supported for now; even 1-character strings are printed. You can
24
+ pipe the output of _ strings-cp932_ to _ awk 'length($0)>n'_ (or _ awk
25
+ 'length($0)-length($1)-1>n'_ if you're using * -t* ) where _ n_ is the desired
26
+ minimum length if you want to filter out shorter strings.
27
+
28
+ # SEE ALSO
29
+
30
+ _ https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT _ -
31
+ Windows-31J mapping table used by strings-cp932
You can’t perform that action at this time.
0 commit comments