Sponsored Content
Full Discussion: Text formatting question
Top Forums Shell Programming and Scripting Text formatting question Post 302198810 by radoulov on Saturday 24th of May 2008 05:52:42 AM
Old 05-24-2008
Quote:
Originally Posted by aliaa2a
>>> awk '{printf("%s",NR%3?$0" ":$0"\n")}' /tmp/test2
awk: syntax error near line 1
awk: illegal statement near line 1

it's not working. but thanks any way
[...]
You should use nawk or /usr/xpg4/bin/awk on Solaris.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

formatting text

Hi, I am having a file containing entries like: .iso.org.dod.internet.mgmt.mib-2.system.sysName.0 .iso.org.dod.internet.mgmt.mib-2.system.sysLocation.0 .iso.org.dod.internet.mgmt.mib-2.system.sysServices.0 .iso.org.dod.internet.mgmt.mib-2.system.sysORLastChange.0... (16 Replies)
Discussion started by: esham
16 Replies

2. UNIX for Dummies Questions & Answers

Text Formatting

I have a file like this with 1 lac lines. 1 2 3 4 5 6 7 8 9 0 I would like to format the above text file 1 2 3 4 5 6 7 8 9 0 (7 Replies)
Discussion started by: aravindj80
7 Replies

3. Shell Programming and Scripting

text formatting

Hi, any idea input: mr.smith stvenson: /address #/tel no/ personal data profile. mrs.smith stevenson: /address #/tel no/occupation/ personal data profile. output: mr.smith stvenson address #: tel no: personal data profile. mrs.smith stevenson address #: tel no: occupation:... (7 Replies)
Discussion started by: kenshinhimura
7 Replies

4. Shell Programming and Scripting

Text formatting

I have an input file as below. 1 Sanjib Gayen 2 Chetan Jadhav 3 Vijaykumar Uddi 4 Pinaki Sarkar I want to generate an output file as below. 1-Sanjib Gayen 2-Chetan Jadhav (4 Replies)
Discussion started by: R0H0N
4 Replies

5. Shell Programming and Scripting

Text formatting

A folder is having n number of files each file is having column names in it .Hence using below code . for file in /xxx/sss/* do filename=$( basename $file ) sed -e '1,2d; $d; /^*$/d; /selected\.$/d' ${file} | \ sed -e '1s/^/INSERT INTO '${filename}' VALUES (/; $!s/$/,/; $s/$/);/'... (6 Replies)
Discussion started by: rocking77
6 Replies

6. Shell Programming and Scripting

Help with Text formatting

I am generating the o/p as: BLANSWER 112747 112747 TBLQSTN 983 692 INITIATIVE 35 35 PAIGN 3122 3538 IGNCONTACT 90136 93534 IGNGROUP 27 27 AIGNSTEP 16899 20437 AIGNTYPE ... (1 Reply)
Discussion started by: karumudi7
1 Replies

7. Shell Programming and Scripting

Text formatting help

I have bunch of files with data's like below. archive.log.0104 ar0104_akl ar0731_rln ar0731_rsl M70148I need to compile all those files into a single file(.xls file) in the below format. 1st row is file name - should come in 1st column in excel In 2 - 4 row, all entries starts with... (13 Replies)
Discussion started by: vasanth_123
13 Replies

8. Shell Programming and Scripting

Help Me with the formatting of text

Hi, I am new to this forum; I need a help for my scripting problem. I have made a script in Unix which is extracting a report but the issue is that report is not in a proper format. Original Report Ex: Field 1....................... a b c d e f g Field 2............. @ID.@ID Field... (4 Replies)
Discussion started by: tush
4 Replies

9. Post Here to Contact Site Administrators and Moderators

Text formatting

I know I've been away from the forums for past couple of months. But I am back now : ) I used to hit ctrl+B and ctrl+I after selecting the text to make text bold or italic respectively. (Pressing the keys would add and tags etc) However, that is not working anymore. Did I miss something? (13 Replies)
Discussion started by: clx
13 Replies

10. UNIX for Beginners Questions & Answers

Formatting Question

Good Morning- I've been cloning a Solaris 9 SPARC machine using ufsrestoreand have successfully restored drive 0. Now I'm trying to set up the mirror drive. To label and format the new drive, I used#format -e ->select c0t1d0 ->label ->select SMI ->select no ->select no ->select yes and... (3 Replies)
Discussion started by: Stellaman1977
3 Replies
ISO_8859-8(7)						     Linux Programmer's Manual						     ISO_8859-8(7)

NAME
iso_8859-8 - the ISO 8859-8 character set encoded in octal, decimal, and hexadecimal DESCRIPTION
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-8, or "ISO Hebrew" encodes the characters used in Modern Hebrew (or Ivrit). Neither short vowels nor diacritical marks are included, and Yiddish is not provided for. ISO 8859 Alphabets The full set of ISO 8859 alphabets includes: ISO 8859-1 West European languages (Latin-1) ISO 8859-2 Central and East European languages (Latin-2) ISO 8859-3 Southeast European and miscellaneous languages (Latin-3) ISO 8859-4 Scandinavian/Baltic languages (Latin-4) ISO 8859-5 Latin/Cyrillic ISO 8859-6 Latin/Arabic ISO 8859-7 Latin/Greek ISO 8859-8 Latin/Hebrew ISO 8859-9 Latin-1 modification for Turkish (Latin-5) ISO 8859-10 Lappish/Nordic/Eskimo languages (Latin-6) ISO 8859-11 Latin/Thai ISO 8859-13 Baltic Rim languages (Latin-7) ISO 8859-14 Celtic (Latin-8) ISO 8859-15 West European languages (Latin-9) ISO 8859-16 Romanian (Latin-10) ISO 8859-8 Characters The following table displays the characters in ISO 8859-8, which are printable and unlisted in the ascii(7) manual page. The fourth column will only show the proper glyphs in an environment configured for ISO 8859-8. Oct Dec Hex Char Description -------------------------------------------------------------------- 240 160 A0 NO-BREAK SPACE 242 162 A2 c CENT SIGN 243 163 A3 L POUND SIGN 244 164 A4 x CURRENCY SIGN 245 165 A5 Y YEN SIGN 246 166 A6 | BROKEN BAR 247 167 A7 S SECTION SIGN 250 168 A8 " DIAERESIS 251 169 A9 (C) COPYRIGHT SIGN 252 170 AA x MULTIPLICATION SIGN 253 171 AB << LEFT-POINTING DOUBLE ANGLE QUOTATION MARK 254 172 AC ~ NOT SIGN 255 173 AD SOFT HYPHEN 256 174 AE (_) REGISTERED SIGN 257 175 AF MACRON 260 176 B0 o DEGREE SIGN 261 177 B1 +- PLUS-MINUS SIGN 262 178 B2 2 SUPERSCRIPT TWO 263 179 B3 3 SUPERSCRIPT THREE 264 180 B4 ' ACUTE ACCENT 265 181 B5 u MICRO SIGN 266 182 B6 9| PILCROW SIGN 267 183 B7 . MIDDLE DOT 270 184 B8 , CEDILLA 271 185 B9 1 SUPERSCRIPT ONE 272 186 BA -:- DIVISION SIGN 273 187 BB >> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK 274 188 BC 1/4 VULGAR FRACTION ONE QUARTER 275 189 BD 1/2 VULGAR FRACTION ONE HALF 276 190 BE 3/4 VULGAR FRACTION THREE QUARTERS 337 222 DF DOUBLE LOW LINE 340 223 E0 HEBREW LETTER ALEF 341 224 E1 HEBREW LETTER BET 342 225 E2 HEBREW LETTER GIMEL 343 226 E3 HEBREW LETTER DALET 344 227 E4 HEBREW LETTER HE 345 228 E5 HEBREW LETTER VAV 346 229 E6 HEBREW LETTER ZAYIN 347 230 E7 HEBREW LETTER HET 350 231 E8 HEBREW LETTER TET 351 232 E9 HEBREW LETTER YOD 352 233 EA HEBREW LETTER FINAL KAF 353 234 EB HEBREW LETTER KAF 354 235 EC HEBREW LETTER LAMED 355 236 ED HEBREW LETTER FINAL MEM 356 237 EE HEBREW LETTER MEM 357 238 EF HEBREW LETTER FINAL NUN 360 239 F0 HEBREW LETTER NUN 361 240 F1 HEBREW LETTER SAMEKH 362 241 F2 HEBREW LETTER AYIN 363 242 F3 HEBREW LETTER FINAL PE 364 243 F4 HEBREW LETTER PE 365 244 F5 HEBREW LETTER FINAL TSADI 366 245 F6 HEBREW LETTER TSADI 367 246 F7 HEBREW LETTER QOF 370 247 F8 HEBREW LETTER RESH 371 248 F9 HEBREW LETTER SHIN 372 249 FA HEBREW LETTER TAV 375 252 FD LEFT-TO-RIGHT MARK 376 253 FE RIGHT-TO-LEFT MARK NOTES
ISO 8859-8 was also known as ISO-IR-138. SEE ALSO
ascii(7) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2009-01-15 ISO_8859-8(7)
All times are GMT -4. The time now is 05:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy