source: spip-zone/_outils_/svn2git/trunk/create_user_gitea.sh @ 111061

Last change on this file since 111061 was 111061, checked in by cam.lafit@…, 3 years ago

fixup! fixup! Ne pas traiter les lignes commentées ou vides

File size: 264 bytes
Line 
1#!/bin/bash
2
3. create_user_gitea.conf
4
5while read row ; do
6    #Ignorer les lignes vides ou commentées
7    if  [ -z "$row" ]; then 
8        continue;
9    fi
10    if [ expr match "$row" '/\s*#' ]; then
11        continue;
12    fi
13
14    echo $row
15
16done <$SVN_USERS_FILE
Note: See TracBrowser for help on using the repository browser.