On Mon, 9 Jan 2006, Frank Staals wrote:
About the asteriks : No they weren't but for some reason Thunderbird had
problems with the color remaining from the KATE Syntax-hilighting. Anyway:
thanks for the solusion, but what would be the expressions for less or
equal and greater or equal ?
As
Hey,
I'm trying to write a ( simple ) shellscript to move files arround, for
this reason I wanted to check wether 'episode_last' has a higher value
than 'episode_first' ( so that last can't be 3 if first is 60 ). So I
tried :
*if** [* ${episode_last} ${episode_first}* ]*; *then
Frank Staals wrote:
Hey,
I'm trying to write a ( simple ) shellscript to move files arround,
for this reason I wanted to check wether 'episode_last' has a higher
value than 'episode_first' ( so that last can't be 3 if first is 60 ).
So I tried :
*if** [* ${episode_last} ${episode_first}*
In the last episode (Jan 09), Frank Staals said:
I'm trying to write a ( simple ) shellscript to move files arround,
for this reason I wanted to check wether 'episode_last' has a higher
value than 'episode_first' ( so that last can't be 3 if first is 60
). So I tried :
*if** [*
Dan Nelson wrote:
In the last episode (Jan 09), Frank Staals said:
I'm trying to write a ( simple ) shellscript to move files arround,
for this reason I wanted to check wether 'episode_last' has a higher
value than 'episode_first' ( so that last can't be 3 if first is 60
). So I tried :
In the last episode (Jan 09), Frank Staals said:
Dan Nelson wrote:
In the last episode (Jan 09), Frank Staals said:
I'm trying to write a ( simple ) shellscript to move files arround,
for this reason I wanted to check wether 'episode_last' has a
higher value than 'episode_first' ( so that
On Mon, Jan 09, 2006 at 09:20:42PM +0100, Frank Staals wrote:
Anyway: thanks for the solusion, but what would be the expressions for
less or equal and greater or equal ?
man 1 test
the '[' and ']' that surround the if-statement are shorthand for the
test(1) utility. The man page has a list
About the asteriks : No they weren't but for some reason Thunderbird had
problems with the color remaining from the KATE Syntax-hilighting.
Anyway: thanks for the solusion, but what would be the expressions for
less or equal and greater or equal ?
Frank,
Since you're getting into shell