Bash: Difference between revisions
From DWIKI
m (→Bash scripting) |
mNo edit summary |
||
Line 8: | Line 8: | ||
=Tips and tricks= | =Tips and tricks= | ||
==get first character of a string== | |||
FIRST=${STRING:0:1} | |||
[[Category: Scripting]] | [[Category: Scripting]] |
Revision as of 11:02, 11 July 2008
- Homepage
- http://www.linuxdoc.org/HOWTO/Bash-Prog-Intro-HOWTO.html
- Bash Guide for Beginners
- http://www.ling.helsinki.fi/users/reriksso/unix/shell.html
- Advanced Bash Scripting Guide
- Linux Shell Scripting Tutorial
- Aliens Bash Tutorial
Tips and tricks
get first character of a string
FIRST=${STRING:0:1}