Prihlásiť sa Odoslať Novinky :: FAQ :: Rozšírené vyhľadávanie :: Napísali o nás :: Ankety
Main Menu
· Home
· 
· FAQ
· 
· Diskusia
· 











Main Menu
· Domov

Moduly
· AvantGo
· Downloads
· FAQ
· News
· Recommend Us
· Reviews
· Search
· Sections
· Stats
· Topics
· Top List
· Web Links
· Forum

Jazyk
Výber jazykovej mutácie:



The time now is 01.11.2024 - 00:50


parsovanie textu shell, awk, sed ...

Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Author Message
LaCosta
Post subject: parsovanie textu shell, awk, sed ...  PostPosted: 07.03.2007 - 09:28 #47369
Ucen


Joined: Jún 24, 2003
Posts: 598
Location: /dev/null
Mam otazku mam v premennej slovo, je jedno ake a potrebujem dostat z neho prve pismeno. nejake napady ?

jeto linux shell

skusal som awk + regexp ale nic z toho nerobilo to com chcel. Prve ma napadlo: cat $nieco | awk /[^.$]/ ale to vracia cely obsah ...
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
kiwi
Post subject: RE: parsovanie textu shell, awk, sed ...  PostPosted: 07.03.2007 - 09:32 #47370
Guru


Joined: Jan 30, 2003
Posts: 1572

cut -c 1

myslim, ale pozri si to pre istotu
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
LaCosta
Post subject: RE: parsovanie textu shell, awk, sed ...  PostPosted: 07.03.2007 - 09:39 #47371
Ucen


Joined: Jún 24, 2003
Posts: 598
Location: /dev/null
ooo neskonale diky .. ono ma to nenapadlo Smile funguje presne ako ma
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
Display posts from previous:     
All times are GMT
Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Jump to:  

Powered by PNphpBB2 © 2003-2005 The PNphpBB Group
Credits

(C) SKFree 2002-2010: Powered by POSTNUKE. Môžete prebera? naše správy vo formáte XML(RSS)