- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Troubles with cshell
Operating System - Linux
1753824
Members
9333
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 08:58 PM
тАО06-08-2006 08:58 PM
Re: Troubles with cshell
Thanx, the issue with starting letter is solved :)
Now I'm looking for regexp that beside cheking that word starts with a letter, will check that the other symbols are only letters or numbers.
All the stuff I try, just don't work in csh ... (tcsh).
thanx in advance.
Now I'm looking for regexp that beside cheking that word starts with a letter, will check that the other symbols are only letters or numbers.
All the stuff I try, just don't work in csh ... (tcsh).
thanx in advance.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 11:37 PM
тАО06-08-2006 11:37 PM
Solution
Hi,
to come to your request
Now I'm looking for regexp that beside cheking that word starts with a letter, will check that the other symbols are only letters or numbers.
Starting with my switch/case but exiting/breaking in
default:
you can continue in stripping all legal chars and looking at the rest (needs tcsh):
set ok=`echo $field_1 | tr -d '[:lower:][:upper:][0-9]'`
if ($%ok) then
echo $field_1 contains $%ok illegal chars
exit 1
endif
mfG Peter
to come to your request
Now I'm looking for regexp that beside cheking that word starts with a letter, will check that the other symbols are only letters or numbers.
Starting with my switch/case but exiting/breaking in
default:
you can continue in stripping all legal chars and looking at the rest (needs tcsh):
set ok=`echo $field_1 | tr -d '[:lower:][:upper:][0-9]'`
if ($%ok) then
echo $field_1 contains $%ok illegal chars
exit 1
endif
mfG Peter
The Universe is a pretty big place,
it's bigger than anything anyone has ever dreamed of before.
So if it's just us, seems like an awful waste of space, right?
Jodie Foster in "Contact"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2006 11:41 PM
тАО06-08-2006 11:41 PM
Re: Troubles with cshell
Thanx all for the help! :)
Have a nice weekend.
Have a nice weekend.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
- « Previous
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP