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 - 2014 * Cine Talk - Reviews, Gossips, Insider Info etc. * Archive through January 09, 2014 * UNIX Doubt < Previous Next >

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

Jaffaa
Mudiripoyina Bewarse
Username: Jaffaa

Post Number: 22473
Registered: 03-2008
Posted From: 204.14.239.219

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 06, 2014 - 5:08 pm:    Edit Post Delete Post Print Post


Jaffaa:


dhani chuttu while loop raasuko ferrari babu
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaffaa
Mudiripoyina Bewarse
Username: Jaffaa

Post Number: 22472
Registered: 03-2008
Posted From: 204.14.239.219

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 06, 2014 - 5:08 pm:    Edit Post Delete Post Print Post


Ferrari:




echo "12345.345.456.2013-01-06-12.14.23.123456654321" | cut -d "." -f 7- | cut -c1-8
Top of pagePrevious messageNext messageBottom of page Link to this message

Ferrari
Mudiripoyina Bewarse
Username: Ferrari

Post Number: 10426
Registered: 09-2010
Posted From: 98.240.141.193

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 06, 2014 - 4:53 pm:    Edit Post Delete Post Print Post


Onlyniru3:



Niru baa here is the example

12345.345.456.2013-01-06-12.14.23.123456654321

i want to extract 8 characters from the 6th occurrence of '.' in each line of the file
Nandamuri Taraka Rama Rao - Sachin Ramesh Tendulkar
Top of pagePrevious messageNext messageBottom of page Link to this message

Kichidi
Censor Bewarse
Username: Kichidi

Post Number: 29888
Registered: 02-2010
Posted From: 66.193.93.3

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 06, 2014 - 4:52 pm:    Edit Post Delete Post Print Post


Jaffaa:

but kodhiga effort pettali


aa effort edo nuvvu petti .. tanaki answer cheppu MOVIEART--bemmi.aggipulla
ITALIAN MAFIASOCLIPART--smoke
Top of pagePrevious messageNext messageBottom of page Link to this message

Jaffaa
Mudiripoyina Bewarse
Username: Jaffaa

Post Number: 22471
Registered: 03-2008
Posted From: 204.14.239.219

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 06, 2014 - 4:51 pm:    Edit Post Delete Post Print Post

python/perl ki shift avvu ee data manipulations chaala easy avuthaayi,

we should be able to do this in unix too, but kodhiga effort pettali
Top of pagePrevious messageNext messageBottom of page Link to this message

Vkishore
Pilla Bewarse
Username: Vkishore

Post Number: 884
Registered: 10-2011
Posted From: 149.199.62.254

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 06, 2014 - 4:20 pm:    Edit Post Delete Post Print Post

Sed use cheyyi mama....

http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-printing-file-lines-using- address-and-patterns/

Nth line nunchi example vundi....same can be done with perl ...


Grep to kuda possible kakapote ila vastundi

http://www.unix.com/unix-dummies-questions-answers/95237-grepping-nth-line-numbe r.html
Top of pagePrevious messageNext messageBottom of page Link to this message

Kichidi
Censor Bewarse
Username: Kichidi

Post Number: 29885
Registered: 02-2010
Posted From: 66.193.93.3

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 06, 2014 - 4:14 pm:    Edit Post Delete Post Print Post


Onlyniru3:


nuvvu cheppindi each occurance ki emo? .. akkada he is asking from Nth occurrence. correct ena?
ITALIAN MAFIASOCLIPART--smoke
Top of pagePrevious messageNext messageBottom of page Link to this message

Onlyniru3
Censor Bewarse
Username: Onlyniru3

Post Number: 18269
Registered: 08-2009
Posted From: 216.105.250.49

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 06, 2014 - 3:56 pm:    Edit Post Delete Post Print Post

grep "character" /dir/filename | cut -c n-m?
Green Bay Packers... San Antonio Spurs... LSU Tigers...
Top of pagePrevious messageNext messageBottom of page Link to this message

Ferrari
Mudiripoyina Bewarse
Username: Ferrari

Post Number: 10425
Registered: 09-2010
Posted From: 98.240.141.193

Rating: N/A
Votes: 0 (Vote!)

Posted on Monday, January 06, 2014 - 3:47 pm:    Edit Post Delete Post Print Post

unix file lo say 10 lines unnayi

naaku each line lo oka particular character yokka Nth occurence nunchi M number of characters ni extract seyyaali...how can we do this in unix?
Nandamuri Taraka Rama Rao - Sachin Ramesh Tendulkar

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