Bash jobs on function -


i'm trying jobs ldap research in loop to more 1 1 searching. in loop, i'm using function i'm sending parameter search. i'm trying lot of things script still not create job still taking lot of time in execution. possible job function in bash script?

search () {      user=$(ldapsearch $1)     if [[ -n $user]]          echo "ko"      fi  }  line in file.csv;       search $line done 

i found solution using big ldapsearch , parsing result behind grep , sed using loop increment counter , display error not maching if


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -