Hi,
I want to read a file from a specific line to end of file.

For example the file contains following text:

Qt Code:
  1. GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name
  2.  
  3. page address name
  4. ---- ------- ----
  5. abs ffffffff .text
  6. 0 0000912a C$$EXIT
  7. 0 000091c5 I$$DIV
  8. 0 000091d6 I$$MOD
  9. ....
  10. ....
  11. abs ffffffff binit
  12. 0 00000122 cinit
  13. 0 00000000 code_start
  14. abs ffffffff etext
  15. abs ffffffff pinit
  16.  
  17.  
  18. GLOBAL SYMBOLS: SORTED BY Symbol Address
  19.  
  20. page address name
  21. ---- ------- ----
  22. 0 00000000 code_start
  23. 0 00000122 ___cinit__
  24. 0 00000122 cinit
  25. 0 00000144 _F28x_usDelay
  26. 0 00000148 _InitGpio
  27. 0 00000188 _GPIO_SetupPinMux
  28. 0 00000214 _GPIO_SetupPinOptions
  29. 0 000002a8 _GPIO_SetupLock
  30. 0 000002d1 _GPIO_SetupXINT1Gpio
  31. 0 000002db _GPIO_SetupXINT2Gpio
  32. 0 000002e5 _GPIO_SetupXINT3Gpio
  33. 0 000002ef _GPIO_SetupXINT4Gpio
  34. 0 000002f9 _GPIO_SetupXINT5Gpio
  35. 0 00000303 _GPIO_EnableUnbondedIOPullupsFor176Pin
  36. 0 0000031c _GPIO_EnableUnbondedIOPullupsFor100Pin
  37. 0 00000341 _GPIO_EnableUnbondedIOPullups
  38. ...
To copy to clipboard, switch view to plain text mode 

Questions:

1) How can I read file from the line "GLOBAL SYMBOLS: SORTED BY Symbol Address" to end of file.
2) How can I determine which line number in text file that sentence stays?
3) How can I read file from a specific line to a specific line. For example I want to read all lines only between "GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name
" and "GLOBAL SYMBOLS: SORTED BY Symbol Address"


Thanks.