Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> escaping comments for shell commands


Copy link to this message
-
escaping comments for shell commands
Does anyone know if it's possible to escape -- style comments?  I'd like to
pass some arguments to a command I'm running with 'sh', but they're being
interpreted as comments and truncating the command.

Here's an example:

sh ls --PigIgnoresThisBecauseItThinksItIsAComment /foo

Thanks,
Doug
+
Russell Jurney 2013-07-31, 23:28
+
Doug Daniels 2013-08-02, 01:48
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB