Project

General

Profile

Bug #2880

Problem with some commands in command line actor

Added by Dan Higgins over 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
06/29/2007
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2880

Description

I try to run a little bit complex command in external execution. the
command as follows,

ls -al | awk '{print $9}'

so i think there is a problem in ' sign. because it gives "error
evaluating expression" error and it can not parse my command. but

ls -al | grep -v deneme"

commands run successfully. How can i run this kind of commands using
external execution actor? I think if i write an shell script that
contains this command and i try to run that script using actor, it will run.

best regards,

Ufuk Utku Turuncoglu
ITU, Informatics Institute
HPC Lab

History

#1 Updated by Daniel Crawl over 12 years ago

Try escaping the $:

ls -al | awk '{print $$9}'

That expression parses, but I can't get the actor to run anything
with a pipe. (on linux)

#2 Updated by Daniel Crawl almost 12 years ago

These commands now work using the CommandLineExec actor.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 2880

Also available in: Atom PDF