User Tools

Site Tools


sar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sar [2014/10/27 09:28]
caf [Technical:] Correct description of 'i' flag and add description of 'c' flag.
sar [2014/10/27 09:40] (current)
caf [Technical:] Use table for options as per $msar
Line 19: Line 19:
 The options modify this behavior: The options modify this behavior:
  
-  ​''​c'' ​The search for ''<​search>''​ should be case-sensitive. +  ''​c'' ​  | The search for ''<​search>''​ should be case-sensitive. ​               | 
-  ​* ​''​i'' ​The search for ''<​search>''​ should be case-insensitive (this is the default, and the option is only included for backwards-compatibility). +|   ''​i'' ​  | The search for ''<​search>''​ should be case-insensitive (this is the default, and the option is only included for backwards-compatibility). ​               | 
-  ​* ​''​g'' ​All instances of ''<​search>''​ should be replaced with ''<​replace>''​. You must be careful that the contents of ''<​replace>''​ do not match ''<​search>''​ because this would cause it to be infinitely replaced. +|   ''​g'' ​  | All instances of ''<​search>''​ should be replaced with ''<​replace>''​. You must be careful that the contents of ''<​replace>''​ do not match ''<​search>''​ because this would cause it to be infinitely replaced.  ​
-  ''​r'' ​The ''<​text>''​ argument is the name of a variable. ​ The search and replace is performed on the value of this variable, and the result is assigned back to the variable.+|   ''​r'' ​  | The ''<​text>''​ argument is the name of a variable. The search and replace is performed on the value of this variable, and the result is assigned back to the variable. ​|
  
 ======Practical:​====== ======Practical:​======
sar.txt · Last modified: 2014/10/27 09:40 by caf