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.

How to type the Omega symbol Ω in unix shell script

Shell Programming and Scripting

Thread Tools Search this Thread Display Modes
Old Unix and Linux 05-15-2008   -   Original Discussion by NagaMurugesan
NagaMurugesan NagaMurugesan is offline
Registered User
Join Date: May 2008
Last Activity: 15 May 2008, 12:23 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
How to type the Omega symbol Ω in unix shell script


I have a data file delimited by Ω symbol, I would like to use this in grep and cut command. but How to type this Omega symbol.

Sponsored Links
Old Unix and Linux 05-15-2008   -   Original Discussion by NagaMurugesan
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
Join Date: Mar 2008
Last Activity: 28 March 2011, 6:41 AM EDT
Location: /there/is/only/bin/sh
Posts: 3,653
Thanks: 0
Thanked 11 Times in 9 Posts
It depends entirely on what character set it's in. Are you using Unicode or some legacy encoding? In any event, there is no firm standard for how to enter extended symbols; find a program which allows you to pick it from a menu, or simply copy-paste it from here.

If you know the raw character code, any decent editor will probably offer an input method for entering the character code in hex or something.

The fact that you were able to enter that character here would indicate that you already have some way of typing this character.

The Unicode code point for Omega is U+03A9; there is also a separate "ohm symbol" at U+2126
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
how to remove the target of the symbol link in a shell script princelinux Shell Programming and Scripting 1 10-11-2011 06:01 AM
How to type ISO_8859_1 characters in shell script? nvkuriseti Shell Programming and Scripting 3 04-19-2010 05:21 PM
converting the data type in unix shell script kmanivan82 Shell Programming and Scripting 5 10-18-2008 02:07 PM
Specifying font type and color in a shell script Vani_Govind Shell Programming and Scripting 4 03-13-2008 07:42 AM
Registered Symbol in Korn Shell script jacki Shell Programming and Scripting 1 07-09-2007 07:35 PM

All times are GMT -4. The time now is 03:40 PM.