Search Results

Search: Posts Made By: 602chrislys
7,242
Posted By 602chrislys
Ha thanks, that sorted it out!
Ha thanks, that sorted it out!
7,242
Posted By 602chrislys
BASH validate user input
Hey, im trying to validate a user input and need some help. The input needs to be just a single letter. Im using a case to so this eg:

read answer
case $answer in
[A-Za-z]*) echo "OK"
...
7,298
Posted By 602chrislys
Ok thanks for that, ive managed to get it working
Ok thanks for that, ive managed to get it working
7,298
Posted By 602chrislys
BASH tr command help
hi guys,

Is there an easy way to tr a letter into a word??

eg. tr "a" "apple"

Thanks for any help
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy