grisu / gricli

Grisu commandline client
7 stars 2 forks source link

set group from bash in rc #192

Closed sina-masoud-ansari closed 13 years ago

sina-masoud-ansari commented 13 years ago

Just making a note of this for now:

echo "set group /nz/nesi" | /opt/griclish-rc/griclish-rc -b bestgrid-test Logged in to backend: bestgrid-test variable group cannot be set to /nz/nesi reason: group does not exist. use 'print groups' to see available options

doesn't work with the new release but works on the old

echo "set group /nz/nesi" | griclish

These work fine:

jobs> set group /nz/nesi jobs> run myscript (which includes the statement)

However:

cat myscript | /opt/griclish-rc/griclish-rc -b bestgrid-test

doesn't work.

Also, other commands work fine e.g

echo "set dir /; print global dir" | /opt/griclish-rc/griclish-rc -b bestgrid-test

makkus commented 13 years ago

Hm, just wondering. Maybe it has something to do with escaping '/'?

I think @yuriyh fixed that in the new release, but it might cause the regression here?