forked from coin-or/CppAD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
batch_edit.sed
47 lines (46 loc) · 1.59 KB
/
batch_edit.sed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# ----------------------------------------------------------------------------
# None of the lists below can have white space or a dollar sign in an entry.
#
# list of directories that are added to the repository by batch_edit.sh
# new_directories='
# '
# list of files that are deleted by batch_edit.sh
# delete_files='
# '
# List of files that are not edited by the sed commands in this file
# (with the possible exception of the extra_seds commands).
# The files in bin/devel.sh ignore_files are automatically in this list.
# ignore_files='
# val_graph/comp_xam.cpp
# val_graph/test/fun2val.cpp
# include/cppad/local/val_graph/tape.hpp
# '
# list of files and or directories that are moved to new names
# move_paths='
# '
# list of sed commands that map old file and directory names to new names.
# The characters @s, @d, @n get converted to a space, dollar sign, new line.
# move_seds='
# '
# list of files that get edited by the extra_seds command
# extra_files='
# '
# list of sed commands that are applied to the extra files,
# after the other sed commands in this file.
# The characters @s, @d, @n get converted to a space, dollar sign, new line.
# extra_seds='
# '
# ----------------------------------------------------------------------------
# Put other sed commands below here and without # at start of each line
/const tape_t<Value>\* *tape/! b one
N
N
N
N
N
N
s|const tape_t<Value>\*\( *\)tape\( *\),|const tape_t<Value>*\1 tape\2 ,|
s|\(\n *\)\([^ ]*\)\( *\)\([^ ]*\)\( *\),|\1\2\3 \4\5 ,|g
s|\n\( *\)\([^ ]*\)\( *\)\([^ ]*\)\( *\))|\n\1Vector< Vector<Value> >\& val_vec_vec ,\
\1\2\3 \4\5 )|
: one