[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]Resource Grepper
From: |
James Michael DuPont |
Subject: |
[DotGNU]Resource Grepper |
Date: |
Sun, 3 Aug 2003 23:48:02 -0700 (PDT) |
Here are two small perlscripts you can use to grep out the resources
used and defined in pnet :
Grepnames looks in cs files for resources uses, produces a report
address@hidden:~/pnet/pnetlib$ perl grepnames.pl > namesused.txt
Grep defines also looks for names defined, run it in the language
directory
address@hidden:~/pnet/pnetlib/resources/en_US$ perl
./grepdefines.pl > defines.txt
No, just diff the files
diff --side-by-side namesused.txt resources/en_US/defines.txt | grep
"<" | cut -d\< -f1 > report.txt
you get your report.txt
mike
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
grepnames.pl
Description: grepnames.pl
grepdefines.pl
Description: grepdefines.pl
ArgRange_BufferSize
ArgRange_DateTimeRange
Arg_ColorComponent
Arg_DuplicateComponent
Arg_InvalidCurveSegments
Arg_InvalidIPv6Address
Arg_InvalidIPv6Scope
Arg_InvalidPoint
Arg_InvalidRectangle
Arg_InvalidRegex
Arg_InvalidScheme
Arg_InvalidSize
Arg_MustBeSameRank
Arg_MustBeSameSize
Arg_NeedsAtLeastNPoints
Arg_NonNegative
Arg_NotInDictionary
Arg_NotSystemColor
Arg_Null
Arg_PaperSizeNotCustom
Arg_ResourceAlreadyPresent
ArgumentIsNull
ArgumentOutOfRange
Crypt_NoKeyAccess
Crypt_UnknownKey
Emit_AlreadySaved
Emit_AssemblyNameInvalid
Emit_BodyAlreadySet
Emit_BothStaticAndVirtual
Emit_CannotHaveBody
Emit_CannotImportItem
Emit_CannotImportRefType
Emit_CatchAfterFinally
Emit_DataSize
Emit_ExternalModule
Emit_GenericsNotSupported
Emit_GetAlreadyDefined
Emit_GlobalNonStatic
Emit_InterfaceMethodAttrs
Emit_InvalidConstant
Emit_InvalidLabel
Emit_InvalidParamNum
Emit_InvalidSigArgument
Emit_InvalidTypeAttrs
Emit_LabelAlreadyDefined
Emit_MissingWriteLine
Emit_ModuleNameInvalid
Emit_NameEmpty
Emit_NeedDefaultConstructor
Emit_NeedDynamicModule
Emit_NeedExceptionBlock
Emit_NestingParentNotCreated
Emit_NoDynamicAssemblies
Emit_NoExceptionClauses
Emit_NoUnmanagedBaseType
Emit_NoUnmanagedElementCount
Emit_NotAnExceptionType
Emit_NotCustom
Emit_NotSimpleUnmanagedType
Emit_OverrideBodyNotInType
Emit_PInvokeAbstract
Emit_PInvokeInInterface
Emit_SetAlreadyDefined
Emit_SingleModuleOnly
Emit_TypeAlreadyExists
Emit_TypeInvalid
Emit_UnderlyingNotSet
Emit_VarArgsWithNonVarArgMethod
Exception_InvalidPrinter
Format_UnallowedExponent
IO_NotSupp_Wrte
Invalid_BadEnumertorPosition
Invalid_BadIteratorPosition
Invalid_EmptyList
Invalid_KeyType
Invalid_NotCloneable
Invalid_ResourceNotString
Invalid_ResourceReaderClosed
Invalid_ResourceWriterClosed
Invalid_ValueType
NotSupp_CannotGetDevMode
NotSupp_CannotGetDevNames
NotSupp_Remove
SWF_CircularityDetected
SWF_ControlDisposed
SWF_ControlNotAChild
SWF_ControlNotPresent
SWF_CouldNotActivate
SWF_InvalidControlIndex
SWF_InvalidInterval
SWF_InvalidMenuItem
SWF_ItemAlreadyInUse
SWF_MenuItemIndex
SWF_NonNegative
SWF_NotAControl
SWF_SettingTopLevelParent
Security_CodeGroupName
Serialize_CannotSerialize
Syntax Error inside doctypedecl markup.
VB_BothBeforeAndAfter
VB_CommonForType
VB_EmptyString
VB_InvalidAddArguments
VB_InvalidArrayBound
VB_InvalidBitAndArguments
VB_InvalidBitOrArguments
VB_InvalidCast
VB_InvalidCollectionIndex
VB_InvalidColorIndex
VB_InvalidDivArguments
VB_InvalidErrorNumber
VB_InvalidFileAccess
VB_InvalidFileMode
VB_InvalidFileShare
VB_InvalidHexOrOct
VB_InvalidIDivArguments
VB_InvalidModArguments
VB_InvalidMulArguments
VB_InvalidNegArgument
VB_InvalidNotArgument
VB_InvalidPattern
VB_InvalidPlusArgument
VB_InvalidPowArguments
VB_InvalidRank
VB_InvalidRecordLength
VB_InvalidShiftLeftArguments
VB_InvalidShiftRightArguments
VB_InvalidStringIndex
VB_InvalidStringLength
VB_InvalidSubArguments
VB_InvalidTstArguments
VB_InvalidXorArguments
VB_IsValueType
VB_KeyAlreadyExists
VB_LoopCounterIsNull
VB_MismatchedDimensions
VB_MismatchedRanks
VB_NonNegative
VB_Obsolete
VB_ValueIsNull
X_ArcMode
XmlException_InvalidPosition
XmlException_LoadError
XmlException_NoXml
XmlException_ParseError
Xml_ArgumentException
Xml_CannotResolveEntity
Xml_ContextNotNull
Xml_InvalidBoolean
Xml_InvalidUriFormat
Xml_Malformed
Xml_NamespaceValueNull
Xml_PrefixNotFound
Xml_WriteStateClosed
Xml_WrongNodeType
Xml_WrongReadState
Xml_XmlException
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [DotGNU]Resource Grepper,
James Michael DuPont <=