Changeset 53658 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv
- Timestamp:
- Jan 2, 2015 12:31:02 PM (10 years ago)
- Location:
- trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/mkerrtags.sh
r53634 r53658 1 #!/ bin/sh1 #!/usr/bin/env kmk_ash 2 2 # 3 3 # CDDL HEADER START … … 27 27 #ident "%Z%%M% %I% %E% SMI" 28 28 29 29 30 echo "\ 30 31 /*\n\ … … 39 40 static const char *const _dt_errtags[] = {" 40 41 41 pattern='^ \(D_[A-Z0-9_]*\),*' 42 replace=' "\1",' 43 44 sed -n "s/$pattern/$replace/p" || exit 1 42 # WARNING: Tabs in expressions. 43 #pattern='^ \(D_[A-Z0-9_]*\),*' 44 #replace=' "\1",' 45 # 46 #sed -n "s/$pattern/$replace/p" || exit 1 47 set -x 48 kmk_sed --lang_c -n 's/^[[:space:]]*\(D_[A-Z0-9_]*\),*/ "\1",/p' $1 || exit 1 45 49 46 50 echo "\
Note:
See TracChangeset
for help on using the changeset viewer.