source: NEMO/branches/2018/dev_r9956_ENHANCE05_ZAD_AIMP/doc/variables_checking.sh @ 9979

Last change on this file since 9979 was 9957, checked in by acc, 3 years ago

New development branch for the adaptive-implicit vertical advection (05_Gurvan-Vertical_advection)

  • 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.