Sponsored Content
Top Forums UNIX for Dummies Questions & Answers reconstructing a record in a diffrent order Post 41891 by r1500 on Thursday 16th of October 2003 11:56:36 AM
Old 10-16-2003
reconstructing a record in a diffrent order

Can sed be used to take a existing record and reverse the order of defined character placement if there is no delimeters?

existing record:

0123456789CO

expected result:

9876543210CO

if there were delimeters I could define the delimeter and each placement would have an id which I could reconstruct by using the print $ command but without delimeters how do you assign the pacemnet ot a variable?


Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Diffrent versions of Unix/Linux

With so many diffrent flavors out there, how is a person soposed to know what to go with? I'm not asking for specific discussion here in this forum, but I would like to see various pages and articles dicsussing the pluses and minuses of various unix/linux OS's. I have been searching various... (1 Reply)
Discussion started by: MorderKartoffel
1 Replies

2. UNIX for Advanced & Expert Users

Diffrent IP range connectivity

Hi guys, We have different IP ranges in our LAN, for instance my system IP Add. is in 163.183.37.x range, in the meantime i wish to connect to our printer/plotter which is 163.183.4.x & our LAN in another location with 163.183.38.x. What shoul i do except defining pesudo IP Add's? as a... (1 Reply)
Discussion started by: nikk
1 Replies

3. Programming

using a filepointer in a diffrent program

Hi ALL : consider the given 2 codes: //p1.c #include<stdio.h> FILE * fp; main() { pid_t pid; fp=fopen(".........."); // now i am transfering the control to a new process(p2.c). pid=fork(); if(pid==0) ..... execl(" p2".....); .... ... (6 Replies)
Discussion started by: bankpro
6 Replies

4. UNIX for Dummies Questions & Answers

change order of fields in header record

Hello, after 9 months of archiving 1000 files, now, i need to change the order of fields in the header record. some very large, space padded files. HEADERCAS05212008D0210DOMEST01(spacepadded to record length 210) must now be 05212008HEADERCASD0210DOMEST01(spacepadded to record length 210) ... (1 Reply)
Discussion started by: JohnMario
1 Replies

5. UNIX for Advanced & Expert Users

How to remove duplicate lines of a record without changing the order

Hi all, I have to remove duplicate lines in a file without chainging the order.for eg if i have a record pqr def abc lmn pqr abc mkh hgf the output should be pqr def abc lmn mkh hgf (7 Replies)
Discussion started by: abhi.roy03
7 Replies

6. Red Hat

samba fileshare across 2 diffrent workgroup

Hi im trying to configure samba on linux server so win client can access the shared files but my win client is on diffrent domain , we recently changed our domain name but not for certain servers... i guess the samba linux server is still part of our sub domain which is why i still can access... (4 Replies)
Discussion started by: halacil
4 Replies

7. Solaris

Diffrent output in cron jobs

Hi, I have issue with cron. When i run script manually output is fine but when i add it to cron output file is not as same. both file attach some junk charecter comming in cron output. thanx Jignesh (5 Replies)
Discussion started by: jkmistry
5 Replies

8. Shell Programming and Scripting

Sed diffrent replace by occurrence

I couldn't find the answer anywhere, so I hope you could help me. I need to change something like the following: something/bla/aaaa anything/bbb to: something --bla ----aaaa anything --bbb How do I do this? Is it possible with sed? I tried various patterns, but don't know how to... (5 Replies)
Discussion started by: Patwan
5 Replies

9. Filesystems, Disks and Memory

Reconstructing RAID

I am trying to reconstruct a failed 4 disk RAID5 Western Digital ShareSpace device using 3 of the 4 disks connected via USB to an Ubuntu 12.04 machine. I get what seems like a successful re-assemble from - mdadm --assemble --force /dev/md2 /dev/sde4 /dev/sdf4 /dev/sdg4 mdadm: /dev/md2 has... (6 Replies)
Discussion started by: tonyaldr
6 Replies

10. Shell Programming and Scripting

How To Arrange Record In A Special Order?

Hi All, I have following data to be arranged based on columnd 6: 0098442947 0098222107 0098442134 0098200179 0098441067 0098442744 0098443106 0098442746 0098321411 0098443111 0098456611 0098444570 0098456600 0098385750 0098200288 (3 Replies)
Discussion started by: angshuman
3 Replies
NERO(1) 						   Alliance - nero User's Manual						   NERO(1)

NAME
nero - Negotiating Router SYNOPSIS
nero [ -h ] [ -v ] [ -V ] [ -c ] [ -2 ] [ -3 ] [ -4 ] [ -5 ] [ -6 ] [ -L ] [ -G ] [ --help ] [ --verbose ] [ --very-verbose ] [ --core-dump ] [ --local ] [ --global ] [ -p placement ] netlist layout DESCRIPTION
nero is a simple router suited for small academic designs. Currently it can process designs of size up to 4K gates. GLOBAL ROUTING A design is considered as big if it contains nets which half perimeter is greater than 800 lambdas. Global routing is used on big designs. In nero, "global routing" means that the longuests nets are completly routed in a first step with only routing layers numbers 3 & 4. Then the smaller nets are routed with all avalaibles layers. This implies that when global routing is used, the number of routing layers is forced to at least 4. In each step, the nets are routed from the shortest to the longuest with the same routing algorithm. INVOCATION
nero mandatory arguments : o netlist : the name of the design, whithout any extention. Please note that unless a -p placement option is given, the file holding the placement is expected to have the same name as the netlist file (short of the extention). o layout : the name of the resulting routed layout. Be careful of not giving the same name as the netlist, in this case the initial place- ment will be silently overwritten. nero optionnals arguments : o -h, --help : print help. o -v, --verbose : be verbose. o -V, --very-verbose : be unbearably verbose. o -c, --core-dump : do not prevent the generation of core dumps in case of a crash. Mostly used during the development stage. o -2, -3, -4, -5, -6 : set the numbers of layers used for routing. The default for small designs is 2 and 4 for big ones. When global rout- ing took place, the router will uses at least 4 routing layers. o -L, --local : turn off the global routing stage, whatever the size of the design. Be warned that this will enormously slow down the routing process. o -G, --global : turn on the global routing regardless of the size of the design. o -p placement, --place placement : specify a name for the placement file different from the netlist name. EXAMPLE
Route the netlist amd2901_core.vst, using the placement file amd2901_core_p.ap and store the result in amd2901_core_r. $ export MBK_IN_LO=vst $ export MBK_IN_PH=ap $ export MBK_OUT_PH=ap $ nero -V --place amd2901_core_p amd2901_core amd2901_core_r SEE ALSO
MBK_IN_LO(1), MBK_OUT_LO(1), MBK_IN_PH(1), MBK_OUT_PH(1), ocp(1), ocr(1), druc(1), cougar(1) ASIM
/LIP6 13 October 2002 NERO(1)
All times are GMT -4. The time now is 11:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy