Topics Topics Help/Instructions Help Edit Profile Profile Member List Register Paatha Gnyapakaalu - Archives from Old DB  
Search New Posts 1 | 2 | 8 Hours Search New Posts 1 | 3 | 7 Days Search Search Tree View Tree View Latest tweets Live Tweets   Hide Images
Bewarse Talk Discussion Board * Archives - 2012 * Cine Talk - Reviews, Gossips, Insider Info etc. * Archive through June 15, 2012 * Scripting Help < Previous Next >

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaffaa
Mudiripoyina Bewarse
Username: Jaffaa

Post Number: 20933
Registered: 03-2008
Posted on Thursday, June 14, 2012 - 5:53 pm:    Edit Post Delete Post Print Post

thanks kedi bro and royal1234 bros...vocchindhi
Top of pagePrevious messageNext messageBottom of page Link to this message

Kedi
Pilla Bewarse
Username: Kedi

Post Number: 390
Registered: 08-2011
Posted on Thursday, June 14, 2012 - 1:12 pm:    Edit Post Delete Post Print Post

sed -n '/STARTUP NOMOUNT/,/utf8/p' filename
Jai Balayya
Top of pagePrevious messageNext messageBottom of page Link to this message

Royal1234
Pilla Bewarse
Username: Royal1234

Post Number: 969
Registered: 08-2010
Posted on Thursday, June 14, 2012 - 1:11 pm:    Edit Post Delete Post Print Post

cat sourcefile | sed '/NOMOUNT/,/utf8/!d' >> outputfile
http://i40.tinypic.com/hwg38o.png
Top of pagePrevious messageNext messageBottom of page Link to this message

Gaali
Celebrity Bewarse
Username: Gaali

Post Number: 29260
Registered: 03-2004
Posted on Thursday, June 14, 2012 - 12:53 pm:    Edit Post Delete Post Print Post

regular expressions vaadu Rangu doll.
Totally Bewarse! CLIPART--bath_time
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaffaa
Mudiripoyina Bewarse
Username: Jaffaa

Post Number: 20932
Registered: 03-2008
Posted on Thursday, June 14, 2012 - 12:35 pm:    Edit Post Delete Post Print Post

kedi bro

character utf8 varaku kaavali

character utf8 tharuvatha oka 100 lines annaaa vuntaayii
Top of pagePrevious messageNext messageBottom of page Link to this message

Kedi
Pilla Bewarse
Username: Kedi

Post Number: 389
Registered: 08-2011
Posted on Thursday, June 14, 2012 - 12:34 pm:    Edit Post Delete Post Print Post


Jaffaa:


STARTUP NOMOUNT nunchi end varaku cut cheyyala?
Jai Balayya
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaffaa
Mudiripoyina Bewarse
Username: Jaffaa

Post Number: 20931
Registered: 03-2008
Posted on Thursday, June 14, 2012 - 12:27 pm:    Edit Post Delete Post Print Post

kedi bro cut with line numbers work avvadhu

royal bro, neenu just example icchaa STARTUP NOMOUNT mundhi 20 lines vundocchu lekaa 30 lines vundocchu
Top of pagePrevious messageNext messageBottom of page Link to this message

Kedi
Pilla Bewarse
Username: Kedi

Post Number: 388
Registered: 08-2011
Posted on Thursday, June 14, 2012 - 12:15 pm:    Edit Post Delete Post Print Post


Dobbey:


MOVIEART--bemmi.adi
Jai Balayya
Top of pagePrevious messageNext messageBottom of page Link to this message

Royal1234
Pilla Bewarse
Username: Royal1234

Post Number: 968
Registered: 08-2010
Posted on Thursday, June 14, 2012 - 12:10 pm:    Edit Post Delete Post Print Post


Jaffaa:

startup nomount line number consistent ga vundadhu mama.....




4th line nundi end daka cut ceyala?
http://i40.tinypic.com/hwg38o.png
Top of pagePrevious messageNext messageBottom of page Link to this message

Dobbey
Mudiripoyina Bewarse
Username: Dobbey

Post Number: 12165
Registered: 12-2009
Posted on Thursday, June 14, 2012 - 12:07 pm:    Edit Post Delete Post Print Post


Kedi:


MOVIEART--sunil.cry
CLIPART--smoke
Top of pagePrevious messageNext messageBottom of page Link to this message

Kedi
Pilla Bewarse
Username: Kedi

Post Number: 387
Registered: 08-2011
Posted on Thursday, June 14, 2012 - 12:03 pm:    Edit Post Delete Post Print Post

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
Top of pagePrevious messageNext messageBottom of page Link to this message

Dobbey
Mudiripoyina Bewarse
Username: Dobbey

Post Number: 12162
Registered: 12-2009
Posted on Thursday, June 14, 2012 - 11:51 am:    Edit Post Delete Post Print Post

MOVIEART--bemmi.peep
CLIPART--smoke
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaffaa
Mudiripoyina Bewarse
Username: Jaffaa

Post Number: 20930
Registered: 03-2008
Posted on Thursday, June 14, 2012 - 11:50 am:    Edit Post Delete Post Print Post


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....
Top of pagePrevious messageNext messageBottom of page Link to this message

Royal1234
Pilla Bewarse
Username: Royal1234

Post Number: 966
Registered: 08-2010
Posted on Thursday, June 14, 2012 - 11:44 am:    Edit Post Delete Post Print Post

http://www.techimo.com/forum/applications-operating-systems/27959-unix-file-line -cutting.html

spookyEddy post chudu
http://i40.tinypic.com/hwg38o.png
Top of pagePrevious messageNext messageBottom of page Link to this message

Royal1234
Pilla Bewarse
Username: Royal1234

Post Number: 965
Registered: 08-2010
Posted on Thursday, June 14, 2012 - 11:42 am:    Edit Post Delete Post Print Post

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
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaffaa
Mudiripoyina Bewarse
Username: Jaffaa

Post Number: 20929
Registered: 03-2008
Posted on Thursday, June 14, 2012 - 11:40 am:    Edit Post Delete Post Print Post

yeah shell ee

siloan uncle, awk tho cheyyocchu ani thelusu....ettaago artham kaatam laaa MOVIEART--bemmi.sarle

aap ko maaalu hai thoo puuchoo MOVIEART--bemmi.aggipulla
Top of pagePrevious messageNext messageBottom of page Link to this message

Siloan
Pilla Bewarse
Username: Siloan

Post Number: 566
Registered: 09-2008
Posted on Thursday, June 14, 2012 - 11:17 am:    Edit Post Delete Post Print Post

shell emo
Top of pagePrevious messageNext messageBottom of page Link to this message

Sachinfan
Celebrity Bewarse
Username: Sachinfan

Post Number: 32430
Registered: 10-2010
Posted on Thursday, June 14, 2012 - 11:14 am:    Edit Post Delete Post Print Post

em scriptu?MOVIEART--bemmi.adi
Signature... inka edi decide kaaledu CLIPART--smoke
Top of pagePrevious messageNext messageBottom of page Link to this message

Siloan
Pilla Bewarse
Username: Siloan

Post Number: 565
Registered: 09-2008
Posted on Thursday, June 14, 2012 - 11:10 am:    Edit Post Delete Post Print Post

rangu baa ..awk command
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaffaa
Mudiripoyina Bewarse
Username: Jaffaa

Post Number: 20928
Registered: 03-2008
Posted on Thursday, June 14, 2012 - 10:51 am:    Edit Post Delete Post Print Post

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

Topics | Last Hour | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration