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


Tags
english, grep, locale, pipeline, piping

Closed    
 
Thread Tools Search this Thread Display Modes
    #15  
Old Unix and Linux 07-13-2012   -   Original Discussion by adam.wis
alister's Unix or Linux Image
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 978 Times in 791 Posts
Now that's how you drop a cluestick on a thread. Linux
Sponsored Links
    #16  
Old Unix and Linux 07-13-2012   -   Original Discussion by adam.wis
adam.wis's Unix or Linux Image
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
    #17  
Old Unix and Linux 07-13-2012   -   Original Discussion by adam.wis
Corona688's Unix or Linux Image
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 February 2018, 3:57 PM EST
Location: Saskatchewan
Posts: 22,613
Thanks: 1,170
Thanked 4,301 Times in 3,968 Posts
Quote:
Originally Posted by fpmurphy View Post
The z/OS shell expects an EBCDIC environment.
Linux

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

Thank you for the correction.
Sponsored Links
Closed

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 01:45 PM
LANG=C not English? dotancohen Ubuntu 4 03-11-2008 05:40 AM
Please decode in English ST2000 Shell Programming and Scripting 4 07-16-2002 02:33 PM



All times are GMT -4. The time now is 09:17 PM.