Unix/Linux Go Back    

Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Piping fails in locale other than English

Shell Programming and Scripting

english, grep, locale, pipeline, piping

Thread Tools Search this Thread Display Modes
Old Unix and Linux 07-12-2012
alister alister is offline
Registered User
Join Date: Dec 2009
Last Activity: 11 June 2014, 8:40 PM EDT
Posts: 3,231
Thanks: 179
Thanked 976 Times in 790 Posts
Now that's how you drop a cluestick on a thread. Linux
Sponsored Links
Old Unix and Linux 07-13-2012
adam.wis adam.wis is offline
Registered User
Join Date: Jul 2012
Last Activity: 14 November 2012, 3:23 PM EST
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Thanks fpmurphy! I'm glad I finally know what's going on.

I also found some additional info:

blog.SOAL.org Writing Portable Shell Scripts on z/OS UNIX

The suggestion here is to create a separate script that will detect the codeset and convert IBM-1047 script into that codeset.

I think I already know the answer, but is there any way (in good practice) to make this work from one script?
Sponsored Links
Old Unix and Linux 07-13-2012
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 21 August 2017, 6:11 PM EDT
Location: Saskatchewan
Posts: 22,336
Thanks: 1,116
Thanked 4,216 Times in 3,899 Posts
Originally Posted by fpmurphy View Post
The z/OS shell expects an EBCDIC environment.

Wow. I had no inlking that EBCDIC was actually required by anything anymore...

Thank you for the correction.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
translate to normal english rickym2626 UNIX for Dummies Questions & Answers 1 04-05-2009 12:45 PM
LANG=C not English? dotancohen Ubuntu 4 03-11-2008 04:40 AM
Please decode in English ST2000 Shell Programming and Scripting 4 07-16-2002 01:33 PM

All times are GMT -4. The time now is 05:24 AM.