Skip to main content
deleted 12 characters in body; edited tags
Source Link
Gilles 'SO- stop being evil'
  • 866.1k
  • 205
  • 1.8k
  • 2.3k

Its possible to give the function name as Specialuse special characters in a shell scriptfunction name?

I have to create the function in shell script, that function name must contain the special characters. like

 >() { echo $1 $2 } 

Here my function name is >, If its possible how can I give, Like above I tried that But it will through the error

Thanks..

Its possible to give the function name as Special characters in shell script?

I have to create the function in shell script, that function name must contain the special characters. like

 >() { echo $1 $2 } 

Here my function name is >, If its possible how can I give, Like above I tried that But it will through the error

Thanks..

Its possible use special characters in a shell function name?

I have to create the function in shell script, that function name must contain the special characters. like

 >() { echo $1 $2 } 

Here my function name is >, If its possible how can I give, Like above I tried that But it will through the error

Source Link
Bhuvanesh
  • 3.6k
  • 3
  • 14
  • 7

Its possible to give the function name as Special characters in shell script?

I have to create the function in shell script, that function name must contain the special characters. like

 >() { echo $1 $2 } 

Here my function name is >, If its possible how can I give, Like above I tried that But it will through the error

Thanks..