Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Function to process files
- process_file() {
- local file=$1
- echo "Processing file: $file"
- local prefix=$(basename $file .h)
- diff -u <(
- grep -E "eth_|$prefix\_" "$output_file" | tr -d , | awk '{ print $1; }' | sort
- ) <(
- /usr/local/bin/ctags -f- --kinds-C=p $file | awk '{ print $1; }'
- ) | grep '^+' | grep -v '^+++' | sed 's/^+//' >> "$output_file"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement