New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
variables_checking.sh in NEMO/branches/NERC/dev_r10021_NEMO4_plonk_MEDUSA/doc – NEMO

source: NEMO/branches/NERC/dev_r10021_NEMO4_plonk_MEDUSA/doc/variables_checking.sh @ 12411

Last change on this file since 12411 was 9407, checked in by nicolasmartin, 6 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.