Fedora Linux Support Community & Resources Center
Old 19th May 2006, 08: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
Old 19th May 2006, 08: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

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 01:12 AM
Shell Scripting make Date file name Question Quella Using Fedora 4 2nd May 2005 11:28 PM

Current GMT-time: 20:27 (Friday, 22-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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