[
https://issues.apache.org/jira/browse/PIG-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai resolved PIG-3180.
-----------------------------
Resolution: Duplicate
The document is there in
http://pig.apache.org/docs/r0.11.1/cont.html#Examples-N1060D. But the back
ticks is erroneously show as single quote. PIG-3158 fixed that.
> Document using shell commands in Pig scripts
> --------------------------------------------
>
> Key: PIG-3180
> URL: https://issues.apache.org/jira/browse/PIG-3180
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.10.0
> Reporter: Prashant Kommireddi
> Labels: documentaion
> Fix For: 0.12.0
>
>
> This recently came up on the mailing list
> http://mail-archives.apache.org/mod_mbox/pig-user/201302.mbox/%3CCANSvDjrerbmRbTwkpb1B9Es%3DaaN-6kGyw8nwCSNenhnhNo%2BbjA%40mail.gmail.com%3E
> Shell commands can be used in pig scripts, for eg to set HOME directory.
> {code}
> %default HOME `echo \$HOME`
> {code}
> This feature is very useful and should be documented.
--
This message was sent by Atlassian JIRA
(v6.1#6144)