10-28-2011
wow! thanks. perfect
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a big file of 100,000 lines with the following format:
1,736870,736870,1,2,5,547,1253889535,1253889775,240,30,152.163.141.8,US,0,00,-g 1253889445
1,881246,881246,1,2,6,402,1253889535,1253889775,240,30,152.163.141.8,US,0,00,-g 1253889445... (4 Replies)
Discussion started by: toms
4 Replies
2. Shell Programming and Scripting
Input:
3456 565
656 878
235 8
4 8787
3 7
35 878
Expected output:
3456 565
656 878
235 8
4 8787
3 7
35 878
How can i do this with awk,sed and perl? (10 Replies)
Discussion started by: cola
10 Replies
3. Shell Programming and Scripting
Input:
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
Output:
root
daemon
bin
sys
adm
tty (8 Replies)
Discussion started by: cola
8 Replies
4. Shell Programming and Scripting
336 brtr
256 hello
Output:
brtr
hello
How can i do this with sed,awk or perl? (5 Replies)
Discussion started by: cola
5 Replies
5. Shell Programming and Scripting
Input:
:: gstreamer
:: xine-lib
:: xine-lib-extras
Output should be:
gstreamer xine-lib xine-lib-extras
How can it be done with sed or perl? (12 Replies)
Discussion started by: cola
12 Replies
6. Shell Programming and Scripting
Hi,
I have a file with more than 50,000 lines of records and each record is 50 bytes in length.
I need to search every record in this file between positions 11-19 (9 bytes) and 32-40 (9 bytes) and in case any of the above 2 fields is alpha-numeric, i need to replace the whole 9 bytes of that... (7 Replies)
Discussion started by: kikionline
7 Replies
7. Shell Programming and Scripting
Hi,
I have a file containing numerous string values, for example:
AMFU8849636
CCLU7120334
GESU5784065
TEMU3070096I have a second file with multiple records, such as the one below that I would like to manipulate based on the strings from the first file:
CATOS2EDI DSTOW ABC ... (7 Replies)
Discussion started by: doza22
7 Replies
8. Shell Programming and Scripting
Hi All,
I need help from any of you.Would be so thankful for your help.
I/P
DDDD,1045,161,1557,429,1694,800,1911,1113,2460,1457,2917>
1609,3113,1869,3317,2732,3701,3727,4132,5857,5107>
9004,6496
DDDD,1125,157,1558,429,1694,800,1911,1117,2432,1444,2906>... (2 Replies)
Discussion started by: Indra2011
2 Replies
9. Shell Programming and Scripting
Hi All,
i have an output of command vmstat as below :
$ vmstat
System configuration: lcpu=4 mem=5376MB ent=1.00
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------------------
r b avm fre re pi... (10 Replies)
Discussion started by: omkar.jadhav
10 Replies
10. Shell Programming and Scripting
My code below will print only the email address from all lines. I want to convert it with sed or awk.. also what if i just want to find only filenames.
cat LIS_EMAIL | perl -wne'while(/+@+\w+/g){print "$&\n"}'
Hoping to extract the filename such us .exe, .bin. From file that has scrambled... (8 Replies)
Discussion started by: invinzin21
8 Replies
IAC(1) PolyORB documentation IAC(1)
NAME
iac - PolyORB's IDL-to-Ada compiler
SYNOPSIS
iac opts file [-cppargs args]
DESCRIPTION
iac is an IDL-to-Ada compiler, compliant with version 1.2 of the "Ada Language Mapping Specification" produced by the OMG.
OPTIONS
iac accepts the following options:
-E Preprocess only. -k Keep temporary files.
-p Produce source on standard output.
-o DIR Specify output directory.
-dm Generate debug messages when analyzing scopes
-df Dump the frontend tree (the IDL tree)
-cppargs ARGS
Pass ARGS to the C++ preprocessor.
-I dir Shortcut for -cppargs -I dir.
-nocpp Do not preprocess input
-<lang> Generate code for a supported language
types Generate a list of all types present in the IDL file
-p Print the list generate
ada Generate Ada source code
-i Generate implementation template.
-c Generate client side code.
-s Generate server side code.
-d Generate delegation package. (defunct)
-ir Generate code for interface repository.(defunct)
-noir Don't generate code for interface repository (default).
-hc Using perfect minimal hash tables in skeletons and minimize CPU time
-hm Using perfect minimal hash tables in skeletons and minimize memory space
-rs Use the SII/SSI to handle requests
-rd Use the DII/DSI to handle requests (default)
-da Dump the Ada tree
-db Generate only the package bodies
-ds Generate only the package specs
-dw Output the withed entities
-dt Output tree warnings
-di Generate code for imported entities
idl Dump parsed IDL file
-b n Base to output integer literal As a default (zero) use base from input
-e Expand IDL Tree
-df Dump IDL Tree (may be used in conjunction with -e to dump the expanded IDL tree)
-di Output IDL code of imported entities (may be used in conjunction with -e to output the expanded IDL code)
EXIT STATUS
iac returns one of the following values upon exit:
0 Successful completion
1 Usage error
2 Illegal IDL specification
AUTHORS
The PolyORB team, polyorb-devel@lists.adacore.com.
SEE ALSO
The PolyORB WWW page, http://libre.adacore.com/polyorb/
PolyORB team April 26, 2007 IAC(1)