Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SHELL] Poszczegolne znaki w lancuchu.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
vArDo
Apprentice
Apprentice


Joined: 14 Jul 2004
Posts: 218
Location: Bielsko-Biala / Cracow (Poland)

PostPosted: Mon Oct 04, 2004 8:37 pm    Post subject: [SHELL] Poszczegolne znaki w lancuchu. Reply with quote

Witam.
Nie wiem, czy to OT (ale chyba nie bo shell jest mocno zwiazany z Linuksem :) ), ale zapytam sie tutaj - moze ktos akurat dysponuje taka wiedza :)
No, wiec ja mozna uzyskac w powloce (najlepiej BASH) dostep do poszczegolnych znakow lancucha zapisane w jakiejs zmiennej (podanej jak jako argument skryptu dokladniej)? Chodzi mi, np. o kolejne wyswietlanie znakow podanego lancucha od poczatku albo od konca, ich porownywanie, etc.

Z gory dzieki za wszelkie odpowiedzi.

Pozdrawiam

vArDo
Back to top
View user's profile Send private message
Pepek
Guru
Guru


Joined: 25 Apr 2004
Posts: 313
Location: Tarnowskie Góry - Poland - Europe

PostPosted: Mon Oct 04, 2004 8:43 pm    Post subject: Reply with quote

Zainteresuj się poleceniem cut. Po szczegóły użycia odsyłam do manuala (man cut).

Pozdrówki. 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum