GoboLinux DownloadsDocumentationCommunityRecipesPackagesScreenshots

Article | Discussion | Edit | History

GrepReplace

From GoboLinux Knowledge Base

Jump to: navigation, search

This is a wrapper around 'sed'. Given a 'from' pattern, a 'to' pattern and file names, 'from' is replaced by 'to' on any ocurrences in those files.

Usage: GrepReplace <from> <to> <files>

Options:

  • -h, --help - Shows this help.
  • -v, --version - Show program version.
  • -V, --verbose - Enable verbose mode.
  • -R, --recursive - Perform change recursively in all files (overrides last parameter).

Examples:

GrepReplace "SimMcast" "simmcast" *.java


Scripts
Documentation

PackagesCompiling from source

Scripts

AddUserAttachProgramAugmentCommandNotFoundDatabaseCheckDependantsCheckDependenciesCleanModulesColorMakeCommandNotFoundCreateInitRDCreatePackageCreateRootlessEnvironmentDeduceNameDependenciesDescribeProgramDetachProgramDisableProgramFiboSandboxFilterColorsFilterLinesFindPackageFindQuickFixAttributesFixDirReferencesFixInfoGenBuildInformationGetAvailableGoboPathGrepQuickGrepReplaceGuessLatestGuessProgramCaseHasCompatiblePackageHashesinstallInstallPackageIsExecutableKillProcessLinkOrExpandAllListListProgramFilesMergeTreemkinitrd.plMultiGrepNamingConventionsNoRecipePrepareProgramPrioritiseUpdatesRemoveBrokenRemoveEmptyRemoveProgramRenameRescueInstallPackageRescueSymlinkProgramSandboxInstallScriptFunctionsSignProgramSuggestDuplicatesSuggestUpdatesSuperUserNameSymlinkProgramSystemFindSystemInfoUnionSandboxUpdateSettingsUpgradeSystemUseFlagsusleepVerifyProgramwhich

See also

CompileRootless

Personal tools