Abdussamad Abdurrazzaq wrote:

Hello

Please help me with these basic scripting questions. How do you tell the path of the current directory? Is there an equivalent to the Left$ & Right$ functions found in BASIC in Linux scripting? What I mean is how do you extract a given number of characters from the left or right of a string?

TIA


Perl is a very good idea, as someone else mentioned. But if you really do need shell scripting advice, check out the pages at http://tldp.org , especially this one: http://tldp.org/guides.html . Scroll down to the Advanced Bash Scripting Guide. Of course, you must be using bash, not ksh or csh or zsh or whatever, or this will be very confusing.



-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to