Search Results

Search: Posts Made By: atsim
14,775
Posted By atsim
Yes it is. Thanks a lot! Exactly what I was...
Yes it is. Thanks a lot! Exactly what I was looking for.

Edit: Thanks for all the answers!
14,775
Posted By atsim
Nope, it's something that I was interested in...
Nope, it's something that I was interested in doing for a small side project. The 123's represent version numbers but I can't get it to just print out the first digit. I'm off school for now haha
14,775
Posted By atsim
Bash: Getting first digit of a string
If i'm given a string like "abc-def-1.2.3", how would I return "1"? I'm new to scripting and got stumped on this problem. Thanks in advance!
Showing results 1 to 3 of 3

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