Lines Matching refs:old

58 # $2 is the "old/existing file"
68 ${egrep_cmd} -v '^#[pragma ]*ident' $2 > $4.old 2>/dev/null
70 # If the new file has a Sun copyright, remove the Sun copyright from the old
79 $4.old > $4.$$ 2>/dev/null
80 $mv_cmd $4.$$ $4.old
84 # copyrights from the old file.
93 $4.old > $4.$$ 2>/dev/null
94 $mv_cmd $4.$$ $4.old
97 # If the new file has the CDDL, remove it from the old file.
102 $4.old > $4.$$ 2>/dev/null
103 $mv_cmd $4.$$ $4.old
119 $4.old > $4.$$
120 $mv_cmd $4.$$ $4.old
122 # Retain old and new header comments.
124 $sed_cmd -n -e '/^[^#]/,$d' -e '/^##/,$d' -e p $4.old > $4
125 $rm_cmd $4.old
149 $2 > $4.old
156 # The nawk script below processes the old and new files using up to
157 # three passes. If the old file is empty, only the final pass over
160 if [ -s $4.old ]; then
161 nawk_pass1=$4.old
172 # dbmerge type=[auth|prof|user|exec] [ old-file new-file ] new-file
176 # user customizations in the old-file.
179 # old-file, except as follows: For exec_attr, all old entries
181 # user_attr, the "root" entry from the old-file is retained,
188 # the new-file are merged with retained values from the old-file.
191 # "root" where values from the old-file are always retained.
208 # Data from the old-file is read into memory.
211 # Discard any data from the old-file that is part of profiles that
216 # Data from the new-file is merged with the remaining old-file data.
320 # so that all old entries for the profile are removed.
359 function merge_attrs(old, new, cnt, new_cnt, i, j, list, new_list, keyword)
361 cnt = split_escape(old, list, ";");
379 function merge_values(keyword, old, new, cnt, new_cnt, i, j, list, new_list, d)
388 return old;
394 cnt = split(substr(old, length(keyword)+2), list, ",");
511 $rm_cmd -f $outfile $outfile.old $outfile.new $outfile.unsorted