source: trunk/DOC/variables_checking.sh @ 9581

Last change on this file since 9581 was 9407, checked in by nicolasmartin, 4 years ago

Complete refactoring of cross-referencing

  • Use of \autoref instead of simple \ref for contextual text depending on target type
  • creation of few prefixes for marker to identify the type reference: apdx|chap|eq|fig|sec|subsec|tab
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 488 bytes
Line 
1#!/bin/sh
2
3#set -euvx
4
5#shared_namelist_files=$( ls ../NEMOGCM/CONFIG/SHARED/namelist_* )
6shared_namelist_files=$( ls ~/Workspace/NEMO/branches/trunk/NEMOGCM/CONFIG/SHARED/namelist_* )
7
8namelist_variables=$( awk '($1 ~ /[cdlnrsy]n_/ ) {print $1}' ${shared_namelist_files} \
9                        | sed 's/[=(].*//' | sort -u                                   )
10
11for variable in ${namelist_variables}; do
12   [[ $( grep ${variable/_/\\\\\\\\_} tex_sub/*.tex ) ]] && echo $variable ${variable//_/\\\\\\\\_} && exit 0
13done
14
15exit 0
Note: See TracBrowser for help on using the repository browser.