Lines Matching refs:old
59 # $2 is the "old/existing file"
69 ${egrep_cmd} -v '^#[pragma ]*ident' $2 > $4.old 2>/dev/null
71 # If the new file has a Sun copyright, remove the Sun copyright from the old
80 $4.old > $4.$$ 2>/dev/null
81 $mv_cmd $4.$$ $4.old
85 # copyrights from the old file.
94 $4.old > $4.$$ 2>/dev/null
95 $mv_cmd $4.$$ $4.old
98 # If the new file has the CDDL, remove it from the old file.
103 $4.old > $4.$$ 2>/dev/null
104 $mv_cmd $4.$$ $4.old
120 $4.old > $4.$$
121 $mv_cmd $4.$$ $4.old
123 # Retain old and new header comments.
125 $sed_cmd -n -e '/^[^#]/,$d' -e '/^##/,$d' -e p $4.old > $4
126 $rm_cmd $4.old
150 $2 > $4.old
162 # The nawk script below processes the old and new files using up to
163 # three passes. If the old file is empty, only the final pass over
166 if [ -s $4.old ]; then
167 nawk_pass1=$4.old
178 # dbmerge type=[auth|prof|user|exec] [ old-file new-file ] new-file
182 # user customizations in the old-file.
185 # old-file, except as follows: For exec_attr, all old entries
187 # user_attr, the "root" entry from the old-file is retained,
194 # the new-file are merged with retained values from the old-file.
197 # "root" where values from the old-file are always retained.
214 # Data from the old-file is read into memory.
217 # Discard any data from the old-file that is part of profiles that
222 # Data from the new-file is merged with the remaining old-file data.
326 # so that all old entries for the profile are removed.
365 function merge_attrs(old, new, cnt, new_cnt, i, j, list, new_list, keyword)
367 cnt = split_escape(old, list, ";");
385 function merge_values(keyword, old, new, cnt, new_cnt, i, j, list, new_list, d)
394 return old;
400 cnt = split(substr(old, length(keyword)+2), list, ",");
517 $rm_cmd -f $outfile $outfile.old $outfile.new $outfile.unsorted