Fedora Linux Support Community & Resources Center
  #1  
Old 19th May 2006, 09:31 PM
the poi Offline
Registered User
 
Join Date: Feb 2005
Posts: 108
Simple shell scripting question

Shell scripting newbie here... I want to "select" the first three charcters out of a string, so "scr" from "script". I could do it with a loop in c++ but I'm not sure if there's a more straightfoward way (or for that matter, how to make the loop) in shell scripting. Any pointers?
Reply With Quote
  #2  
Old 19th May 2006, 09:33 PM
the poi Offline
Registered User
 
Join Date: Feb 2005
Posts: 108
and naturally, within second of posting the thread, i find ot hwo to do it : ). tanks anyway i guess
Reply With Quote
Reply

Tags
question, scripting, shell, simple

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Newbie, Shell Scripting question radamsiii Programming & Packaging 39 13th January 2009 11:14 PM
VERY SIMPLE Bash Shell question dashdanw Installation, Upgrades and Live Media 14 16th November 2006 01:23 AM
shell scripting Baby Chen Programming & Packaging 32 11th February 2006 07:46 PM
Simple RPM Shell Command question pio Using Fedora 7 10th June 2005 02:12 AM
Shell Scripting make Date file name Question Quella Using Fedora 4 3rd May 2005 12:28 AM


Current GMT-time: 12:29 (Thursday, 18-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Castro Cafe Photos on Instagram - Olot City Travel Photos - The Anchored Inn - Taejongdae