Unsolved
This post is more than 5 years old
62 Posts
0
706
problem with bash script on celerra control station
#!/bin/bash
#
get_fs_list ()
{
date
}
#
get_fs_list
gets
bash -v test.sh
#!/bin/bash
#
get_fs_list ()
'est.sh: line 3: syntax error near unexpected token `
'est.sh: line 3: `get_fs_list ()
What's wrong??
This works fine on Solaris 10.
#
get_fs_list ()
{
date
}
#
get_fs_list
gets
bash -v test.sh
#!/bin/bash
#
get_fs_list ()
'est.sh: line 3: syntax error near unexpected token `
'est.sh: line 3: `get_fs_list ()
What's wrong??
This works fine on Solaris 10.
dynamox
2 Intern
2 Intern
•
20.4K Posts
1
October 29th, 2008 06:00
function get_fs_list {
date
}
get_fs_list
pzxkys
62 Posts
0
October 29th, 2008 07:00
pzxkys
62 Posts
0
October 29th, 2008 07:00
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
October 29th, 2008 10:00