Author |
Message |
Jaffaa
Mudiripoyina Bewarse Username: Jaffaa
Post Number: 20933 Registered: 03-2008
| Posted on Thursday, June 14, 2012 - 5:53 pm: |
|
thanks kedi bro and royal1234 bros...vocchindhi |
Kedi
Pilla Bewarse Username: Kedi
Post Number: 390 Registered: 08-2011
| Posted on Thursday, June 14, 2012 - 1:12 pm: |
|
sed -n '/STARTUP NOMOUNT/,/utf8/p' filename Jai Balayya
|
Royal1234
Pilla Bewarse Username: Royal1234
Post Number: 969 Registered: 08-2010
| Posted on Thursday, June 14, 2012 - 1:11 pm: |
|
cat sourcefile | sed '/NOMOUNT/,/utf8/!d' >> outputfile http://i40.tinypic.com/hwg38o.png
|
Gaali
Celebrity Bewarse Username: Gaali
Post Number: 29260 Registered: 03-2004
| Posted on Thursday, June 14, 2012 - 12:53 pm: |
|
regular expressions vaadu Rangu doll. Totally Bewarse!
|
Jaffaa
Mudiripoyina Bewarse Username: Jaffaa
Post Number: 20932 Registered: 03-2008
| Posted on Thursday, June 14, 2012 - 12:35 pm: |
|
kedi bro character utf8 varaku kaavali character utf8 tharuvatha oka 100 lines annaaa vuntaayii |
Kedi
Pilla Bewarse Username: Kedi
Post Number: 389 Registered: 08-2011
| Posted on Thursday, June 14, 2012 - 12:34 pm: |
|
Jaffaa:
STARTUP NOMOUNT nunchi end varaku cut cheyyala? Jai Balayya
|
Jaffaa
Mudiripoyina Bewarse Username: Jaffaa
Post Number: 20931 Registered: 03-2008
| Posted on Thursday, June 14, 2012 - 12:27 pm: |
|
kedi bro cut with line numbers work avvadhu royal bro, neenu just example icchaa STARTUP NOMOUNT mundhi 20 lines vundocchu lekaa 30 lines vundocchu |
Kedi
Pilla Bewarse Username: Kedi
Post Number: 388 Registered: 08-2011
| Posted on Thursday, June 14, 2012 - 12:15 pm: |
|
Dobbey:
Jai Balayya
|
Royal1234
Pilla Bewarse Username: Royal1234
Post Number: 968 Registered: 08-2010
| Posted on Thursday, June 14, 2012 - 12:10 pm: |
|
Jaffaa:startup nomount line number consistent ga vundadhu mama.....
4th line nundi end daka cut ceyala? http://i40.tinypic.com/hwg38o.png
|
Dobbey
Mudiripoyina Bewarse Username: Dobbey
Post Number: 12165 Registered: 12-2009
| Posted on Thursday, June 14, 2012 - 12:07 pm: |
|
Kedi:
|
Kedi
Pilla Bewarse Username: Kedi
Post Number: 387 Registered: 08-2011
| Posted on Thursday, June 14, 2012 - 12:03 pm: |
|
Gom baa, file lo specific line numbers or specific characters in lines display cheyyali ante "CUT" command is easiest way. cut -c 5-10 filename ----> 5th nunchi 10th characters display jethundhi. ledha some generic lines ni cut cheyyalante SED command use seyyatamu better baa Jai Balayya
|
Dobbey
Mudiripoyina Bewarse Username: Dobbey
Post Number: 12162 Registered: 12-2009
| Posted on Thursday, June 14, 2012 - 11:51 am: |
|
|
Jaffaa
Mudiripoyina Bewarse Username: Jaffaa
Post Number: 20930 Registered: 03-2008
| Posted on Thursday, June 14, 2012 - 11:50 am: |
|
Royal1234:try tail -(STARTUP NOMOUNT line number ) or head -(STARTUP NOMOUNT line number)
startup nomount line number consistent ga vundadhu mama.....aa pattern meedhee rely avvaali, line number meedha avvaleemu.... |
Royal1234
Pilla Bewarse Username: Royal1234
Post Number: 966 Registered: 08-2010
| Posted on Thursday, June 14, 2012 - 11:44 am: |
|
http://www.techimo.com/forum/applications-operating-systems/27959-unix-file-line -cutting.html spookyEddy post chudu http://i40.tinypic.com/hwg38o.png
|
Royal1234
Pilla Bewarse Username: Royal1234
Post Number: 965 Registered: 08-2010
| Posted on Thursday, June 14, 2012 - 11:42 am: |
|
if the content is consistent in the file try tail -(STARTUP NOMOUNT line number ) or head -(STARTUP NOMOUNT line number) http://i40.tinypic.com/hwg38o.png
|
Jaffaa
Mudiripoyina Bewarse Username: Jaffaa
Post Number: 20929 Registered: 03-2008
| Posted on Thursday, June 14, 2012 - 11:40 am: |
|
yeah shell ee siloan uncle, awk tho cheyyocchu ani thelusu....ettaago artham kaatam laaa aap ko maaalu hai thoo puuchoo |
Siloan
Pilla Bewarse Username: Siloan
Post Number: 566 Registered: 09-2008
| Posted on Thursday, June 14, 2012 - 11:17 am: |
|
shell emo |
Sachinfan
Celebrity Bewarse Username: Sachinfan
Post Number: 32430 Registered: 10-2010
| Posted on Thursday, June 14, 2012 - 11:14 am: |
|
em scriptu? Signature... inka edi decide kaaledu
|
Siloan
Pilla Bewarse Username: Siloan
Post Number: 565 Registered: 09-2008
| Posted on Thursday, June 14, 2012 - 11:10 am: |
|
rangu baa ..awk command |
Jaffaa
Mudiripoyina Bewarse Username: Jaffaa
Post Number: 20928 Registered: 03-2008
| Posted on Thursday, June 14, 2012 - 10:51 am: |
|
ippudu oka file loo ee pattern vundhi ---hello ---abc *** xyz STARTUP NOMOUNT some lines some lines some lines character utf8 ; ---hello ---abc *** xyz i want to cut only these lines from the file: STARTUP NOMOUNT some lines some lines some lines character utf8 emanna suggestions vunte ivvandi kodhiga |