Skip to Content.
Sympa Menu

grouper-users - gsh.sh script whitespace problem

Subject: Grouper Users - Open Discussion List

List archive

gsh.sh script whitespace problem


Chronological Thread 
  • From: "Imholz, John J." <>
  • To: "''" <>
  • Subject: gsh.sh script whitespace problem
  • Date: Wed, 26 May 2010 16:35:00 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

At least I think it's a whitespace problem. I'm confused. (note: my
subjectIds look like this: "BR549:90067")

Why does this work:
for ( subject : getMembers("foo:bar" ) ) { print(
subject.getSubjectId().split( ":" )[1] ); }


but this does not:
for ( subject : getMembers("foo:bar" ) ) {
print( subject.getSubjectId().split( ":" )[1] );
}
// Error: unable to evaluate command: Parse error at line 1, column 69.
Encountered: <EOF>
// Error: unable to evaluate command: Sourced file: inline evaluation of: ``
print( subject.getSubjectId().split( ":" )[1] );'' : Attempt to resolve
method: getSubjectId() on undefined variable or class name: subject
// Error: unable to evaluate command: Parse error at line 1, column 1.
Encountered: }

jji



Archive powered by MHonArc 2.6.16.

Top of Page