pub fn replace_command( script: &str, range: Range<usize>, command: &str, ) -> String
The script with the command at range replaced by command.
range
command