Complete.Org: Mailing Lists: Archives: linux-help: January 2001:
[linux-help] Quick BASH/Perl Question
Home

[linux-help] Quick BASH/Perl Question

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Quick BASH/Perl Question
From: Curtis Hawthorne <cghawthorne@xxxxxxxxx>
Date: Wed, 10 Jan 2001 15:03:12 -0800 (PST)
Reply-to: linux-help@xxxxxxxxx

First, in BASH, how do I test for the presence of any
.log (*.log) file in a directory?  If I do "test -a
*.log" it says there's too many arguments.

Second, in Perl what's the easiset way to grab the
first letter of a string, preferably without splitting
the whole thing into a letter by letter array?

Thanks!

Curtis

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]