Project

General

Profile

Actions

Bug #2880

closed

Problem with some commands in command line actor

Added by Dan Higgins over 17 years ago. Updated almost 17 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

Actions #1

Updated by Daniel Crawl over 17 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)

Actions #2

Updated by Daniel Crawl almost 17 years ago

These commands now work using the CommandLineExec actor.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2880

Actions

Also available in: Atom PDF