Here is the data, if you put it in a file and then tell Rails to read 
it, please see if you can get it to display in the exact same format in 
Rails. When I do it, all my columns don't line up:


Mod Ports Card Type                              Model 
Serial No.
--- ----- -------------------------------------- ------------------ 
-----------
  1   48  48 port 10/100 mb RJ-45 ethernet       WS-X6248-RJ-45 
SAD041509MC
  2   48  48 port 10/100 mb RJ-45 ethernet       WS-X6248-RJ-45 
SAD041206F6
  3   16  16 port 1000mb MTRJ ethernet           WS-X6416-GE-MT 
SAD04220ML4
  4   48  48 port 10/100 mb RJ-45 ethernet       WS-X6248-RJ-45 
SAD03465383
  5    2  Supervisor Engine 720 (Active)         WS-SUP720-3B 
SAL092750VP
  6    2  Supervisor Engine 720 (Warm)           WS-SUP720-3B 
SAL09285BW6
  7   48  48 port 10/100 mb RJ-45 ethernet       WS-X6248-RJ-45 
SAD041509MY
  8   48  CEF720 48 port 10/100/1000mb Ethernet  WS-X6748-GE-TX 
SAL09285L96
  9    6  Firewall Module                        WS-SVC-FWM-1 
SAD084305Y3

Mod MAC addresses                       Hw    Fw           Sw 
Status
--- ---------------------------------- ------ ------------ ------------ 
-------
  1  0001.970a.dab0 to 0001.970a.dadf   1.2   5.1(1)CSX    8.5(0.46)ROC 
Ok
  2  00b0.c2f1.f21c to 00b0.c2f1.f24b   1.2   5.1(1)CSX    8.5(0.46)ROC 
Ok
  3  00d0.c0ce.f854 to 00d0.c0ce.f863   1.0   5.3(1)       8.5(0.46)ROC 
Ok
  4  0030.9615.2414 to 0030.9615.2443   1.1   4.2(0.24)VAI 8.5(0.46)ROC 
Ok
  5  0012.dae4.7a28 to 0012.dae4.7a2b   4.4   8.1(3)       12.2(18)SXE3 
Ok
  6  0012.dae4.7f80 to 0012.dae4.7f83   4.4   8.1(3)       12.2(18)SXE3 
Ok
  7  0001.974a.0a30 to 0001.974a.0a5f   1.2   5.1(1)CSX    8.5(0.46)ROC 
Ok
  8  0014.f27e.b460 to 0014.f27e.b48f   2.2   12.2(14r)S5  12.2(18)SXE3 
Ok
  9  0003.3234.bb36 to 0003.3234.bb3d   3.0   7.2(1)       2.3(1) 
Ok

Mod Sub-Module                  Model              Serial        Hw 
Status
--- --------------------------- ------------------ ------------ ------- 
-------
  5 Policy Feature Card 3       WS-F6K-PFC3B       SAL09253YMB   2.1 
Ok
  5 MSFC3 Daughterboard         WS-SUP720          SAL0926479K   2.3 
Ok
  6 Policy Feature Card 3       WS-F6K-PFC3B       SAL09274WMF   2.1 
Ok
  6 MSFC3 Daughterboard         WS-SUP720          SAL09169JJE   2.3 
Ok
  8 Centralized Forwarding Card WS-F6700-CFC       SAL09316RQD   2.0 
Ok

Mod Online Diag Status
--- -------------------
  1 Pass
  2 Pass
  3 Pass
  4 Pass
  5 Pass
  6 Pass
  7 Pass
  8 Pass
  9 Pass

thanks for the help,

vic


-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to