Sponsored Content
Top Forums Shell Programming and Scripting Syntax error at line 11 : `for' is not matched. Post 302329618 by digambar on Monday 29th of June 2009 04:14:19 AM
Old 06-29-2009
Hi All,

Sorry !!
now i have corrected code. Can review it.
Please advise.!!
 

10 More Discussions You Might Find Interesting

1. Programming

sh: syntax error at line 1: `>' unexpected

I compiled C program under SUN OS sparcv9 ...I had a problem related to SIGBUS which has been resolved by adding an option to the CC compiler which is memory alignement option ..-memalign=1i as I remmber ...after running the program I got the below error please let me KNow more details what should... (2 Replies)
Discussion started by: atiato
2 Replies

2. Shell Programming and Scripting

get_source[34]: 0403-057 Syntax error at line 66 : `"' is not matched.

Hi, I am getting this error in my shell script, kindly help as soon as possible: ################################################################### # Main body of program ################################################################### . /saptech/scripts/common/declare # Defines... (1 Reply)
Discussion started by: vishal_ranjan
1 Replies

3. Shell Programming and Scripting

ERROR: ./launch_full_backup.sh[18]: Syntax error at line 28 : `else' is not expected.

Help please! :confused: I have the following error with the following file and the emails are not arriving to the email, any idea please? ERROR: ./launch_full_backup.sh: Syntax error at line 28 : `else' is not expected. FECHA=`date +%d%m%y%H%M`... (2 Replies)
Discussion started by: villenan
2 Replies

4. UNIX for Advanced & Expert Users

sh: syntax error at line 8 : `<<' is not matched.

Hi, I am trying to execute the above attached script. and i am getting the error as syntax error at line 8: `<<' is not matched. While i am trying to run that particular line (cat <<EOF > /tmp/query.sql) independently in the prompt it is running successfully without any error. I am running... (2 Replies)
Discussion started by: satyaatcgi
2 Replies

5. Shell Programming and Scripting

Makefile: syntax error at line 1

I am able to 'Make' some of projects's modules using GNU's make except one where it throws me the following error gmake -f Makefile /bin/sh: syntax error at line 1: `if' unexpected gmake: *** Error 2 I am sure it has nothing to do with the Makefile as there is no 'if' in the first... (1 Reply)
Discussion started by: sudsa
1 Replies

6. Shell Programming and Scripting

Receiving error: ./ang.ksh[35]: 0403-057 Syntax error at line 116 : `done' is not expected.

Hi All I am quite new to Unix. Following is a shell script that i have written and getting the subject mentioned error. #!/bin/ksh #------------------------------------------------------------------------- # File: ang_stdnld.ksh # # Desc: UNIX shell script to extract Store information.... (3 Replies)
Discussion started by: amitsinha
3 Replies

7. Shell Programming and Scripting

[Solved] 0403-057 Syntax error `<' is not matched

curr_time=`date +%Y%m%d%H%M` curr_date=`date +%Y%m%d` zero=0 script_path="/home/wccuser1/wcc/Scripts/bulk_file_ftp" file_dir="/home/wccuser1/wcc/Bulk_Files" todays_file_count=`ls -ltr | grep $curr_date | awk '{print $9}' | wc -l` todays_file=`ls -ltr | grep $curr_date | awk '{print $9}'` if... (5 Replies)
Discussion started by: gagandeep
5 Replies

8. Shell Programming and Scripting

0403-057 Syntax error at line 169 : `"' is not matched.

Hi, I am getting this error in my attached shell script, kindly help as soon as possible: Thanks, Andre (2 Replies)
Discussion started by: damoon
2 Replies

9. Shell Programming and Scripting

./1.sh: Syntax error at line 1 : `<<' is not matched.

function user { sqlplus primeit@$ORACLE_SID/primeit <<EOF select user_name from test; EOF } function gen { genpwdfile dec -in $1 -out $2 echo $1 echo $2 } function reset { sqlplus primeit@$ORACLE_SID/primeit... (7 Replies)
Discussion started by: ripudaman.singh
7 Replies

10. Shell Programming and Scripting

0403-057 Syntax error at line 399 : `"' is not matched

Hi Everyone, I am getting strange behavior, same script runs fine without any error in one AIX machine, whereas on another it is throwing this error "0403-057 Syntax error at line 399 : `"' is not matched", I also ran the script in debug mode. This is the output, still doesn't say anything.... (2 Replies)
Discussion started by: sid1987
2 Replies
Dancer::Development::Integration(3pm)			User Contributed Perl Documentation		     Dancer::Development::Integration(3pm)

NAME
Dancer::Development::Integration - guide for Dancer's core-team members DESCRIPTION
This documentation describes the procedure used for integrators to review and merge contributions sent via pull-requests. Every core-team member should read and apply the procedures described here. This will allow for a better history and more consistency in our ways of handling the (increasing number!) of pull requests. TERMS
We will first define the most important terms used in this documentation: o PR Acronym for Pull Request o Contributor A GitHub user who had forked and cloned the official Dancer's repo, and who has sent a PR. o Integration branch This branch is the branch used to merge all contributions. This is a git-flow convention. In Dancer, our integration branch is "devel". As explained in Dancer::Development, every PR should be based on the integration branch. If not, this is enough to refuse the PR (it makes the life of the integrator much harder if this is not the case). o Integrator A member of Dancer's core-team who is responsible for reviewing and either rejecting the PR, or merging it into the integration branch. PROCEDURES
Processing a Pull Request This procedure describes how an integrator should process a PR. Let's say the user $user has sent a PR, he has followed the instructions described in Dancer::Development so his work is based on the integration branch ("devel"). All the procedure described here is designed to avoid unnecessary recursive-merge, in order to keep a clean and flat history in the integration branch. Of course, we could just pull from $user into our "devel" branch, but this would shift the history because of recursive merge, most of the time. To avoid that, we're going to pull the commits of $user into a temporary branch, and then cherry-pick the commits we want. In order to have a clean history, like the one we got with git-flow when working on a feature, we're going to do that in a topic branch, named "review/$user". Then, this branch will be merged into "devel" and we will just have to drop it. First, we make sure we are in sync with "origin/devel" git checkout devel git pull origin devel Then, from that branch we create a temp sandbox git checkout -b temp We pull here from $user git pull <user repo> <pr/branch> Here, either the pull was run as a fast-forward or as a recursive merge. If we have a FF, we can forget about the temp branch and do the pull directly in "devel". If not, we'll have to cherry-pick the commits by hand. From devel, we first create the final "review" branch: git checkout devel git checkout -b review/$user Then we cherry-pick all the commits we want. To know them, we just have to go into temp and inspect the history (with "git log"). When we have the list of commits we want: for commit in C1 C2 C3 ... CN do git cherry-pick $commit done (Another option is to use "git rebase -i" to manually select the list of commits to cherry-pick/rebase.) Then we can review the code, do whatever we want, maybe add some commits to change something. When we're happy with the change set, we can merge into devel: git checkout devel git merge --no-ff review/$user Note the "--no-ff" switch is used to make sure we'll see a nice commit named "Merge branch 'review/$user' into devel". This is on purpose and mimic the behaviour of git-flow. Your local "devel" branch is now merged, and can be pushed to the remote. $ git push origin devel RELEASE CYCLES
We have one main release cycle. This is the release cycle based on the devel branch. We use this branch to build new releases, with new stuff all the new shiny commits we want. Those release are built with git-flow (with "git-flow release") and are then uploaded to CPAN. Since Dancer 1.2, we also have another parallel release cycle which is what we call the frozen branch. It's a maintenance-only release cycle. That branch is created from the tag of the first release of a stable version (namely a release series with an even minor number). This branch must be used only for bug-fixing the stable releases. Nothing new should occur in that branch. Let's take an example with Dancer 1.2003 and Dancer 1.3002. o Dancer 1.2003 is the last stable release of Dancer. Its codebase is handled in the frozen branch, that has been created from the tag 1.2000. o Dancer 1.3002 is the last release of Dancer. As it belongs to a development series, it can provide new features, code refactoring and deprecations. Its codebase is handled by the integration branch, "devel". o When a bug is found in 1.2xxx, it's fixed in the "frozen" branch, and a new release is built from here and then uploaded to CPAN. o Whenever the team wants to, they can release new versions of 1.3xxx from the devel branch, using "git-flow release start". o When the team finds that the current state of devel (namely, the last version of 1.3xxx) is stable and mature enough. They can decide it will be the new stable version. Then, a release 1.4000_01 is built from devel, an upload is done to CPAN, and when ready, the 1.40001 can be uploaded the same way. From that moment, the master branch is merged into frozen in order to be able to hotfix the frozen branch in the future. It's now possible for the team to continue working on new stuff in devel, bumping the version number to 1.5000_01 AUTHOR
This documentation has been written by Alexis Sukrieh "<sukria@sukria.net>". perl v5.14.2 2011-11-30 Dancer::Development::Integration(3pm)
All times are GMT -4. The time now is 11:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy