User Commands  - change (1)

NAME

change(1f) - [FILE EDIT] replace fixed strings in files (LICENSE:MIT)

CONTENTS

Synopsis
Description
Options
Author
License

SYNOPSIS

change [ --ignorecase][ --dryrun][ --verbose] old new filename(s)

     or

change --help| --version| --usage

DESCRIPTION

The change(1) utility changes strings in-place in files.

trailing spaces on OLD and NEW are ignored.

TABS are expanded.

files named on the command are modified in-place, so you may want to make a copy of the original before converting it. change(1) prints a message indicating any of the input files it actually modifies.

Do not change binary files with this program, which uses sequential access to read and write the files. It can corrupt binary files.

OPTIONS

old string to look for
new the replacement string
filenames
  list of files to replace strings in
--ignorecase,-i
  ignore case of input
--ask,-a
  interactively confirm each change
--dryrun,-d
  does all file operations except for moving the changed file back to the original. Implies --verbose.
--verbose,-V
  print information about what the program changes.
--help,-h
  display a help message and exit.
--version,-v
  display version information and exit.
--usage,-u
  display options table

AUTHOR

John S. Urban

LICENSE

    MIT


Nemo Release 3.1 change (1) February 23, 2025
Generated by manServer 1.08 from 92379285-5623-45ea-9dc1-37776949de3c using man macros.