Search Results

Search: Posts Made By: Perderabo
5,488
Posted By Perderabo
simon2000, the solution that you posted seems so...
simon2000, the solution that you posted seems so far off the mark that I'm really sure what to say about it. First, out of the blue you are testing the value of a variable called X. Where did X...
5,488
Posted By Perderabo
The # says to remove a leading pattern. The ? is...
The # says to remove a leading pattern. The ? is a pattern that matches a single character. Put them together and you are stripping off the first character.
5,488
Posted By Perderabo
Well in ksh (why do people NEVER reveal which...
Well in ksh (why do people NEVER reveal which language they are using?) it is easy:
#! /usr/bin/ksh
x=_1234567.RP
y=${x#?}
echo $y
exit 0
Showing results 1 to 3 of 3

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