ksh script w/o perl
Bob.Kelley_at_BRINKSINC.COM
Date: 01/29/04
- Previous message: Raj Atwal: "Re: Deleting SP node/Frame out of order"
- Next in thread: Libor Laubacher: "Re: ksh script w/o perl"
- Reply: Libor Laubacher: "Re: ksh script w/o perl"
- Reply: JOSEPH KREMBLAS: "Re: ksh script w/o perl"
- Maybe reply: Bob.Kelley_at_BRINKSINC.COM: "Re: ksh script w/o perl"
- Maybe reply: Jef Lee: "Re: ksh script w/o perl"
- Maybe reply: Thierry ITTY: "Re: ksh script w/o perl"
- Reply: John Jolet: "Re: ksh script w/o perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jan 2004 14:44:20 -0600 To: aix-l@Princeton.EDU
Anybody have a quick way to set each line of output from a file to a
different variable without using perl?
Eg
[root@nad0019aixd05/home..oracle]# cat /etc/oratab|grep -v "#"|grep -v
N|cut -c -8
PRODUCES two lines:
clipsdv1
cashsqa1
how can I painlessly set these in a script to variables DB1 and DB2?
Bobby Kelley Jr.
972-877-5341
- Previous message: Raj Atwal: "Re: Deleting SP node/Frame out of order"
- Next in thread: Libor Laubacher: "Re: ksh script w/o perl"
- Reply: Libor Laubacher: "Re: ksh script w/o perl"
- Reply: JOSEPH KREMBLAS: "Re: ksh script w/o perl"
- Maybe reply: Bob.Kelley_at_BRINKSINC.COM: "Re: ksh script w/o perl"
- Maybe reply: Jef Lee: "Re: ksh script w/o perl"
- Maybe reply: Thierry ITTY: "Re: ksh script w/o perl"
- Reply: John Jolet: "Re: ksh script w/o perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|