sandeepmur
Programmer
Hi,
I am editing a huge script where I basically want to create a file within a function something like:
newFile () {
echo AAAAAAAAAAAAAAAA
echo BBBBBBBBB > bbb.txt
}
newFile
The problem is that the above works fine as a standalone in a script but when I place this in the script I am editing, no file is being created.. Why is that ?? is there something in the script that deletes/ prevents this ??
thnx in adv,
I am editing a huge script where I basically want to create a file within a function something like:
newFile () {
echo AAAAAAAAAAAAAAAA
echo BBBBBBBBB > bbb.txt
}
newFile
The problem is that the above works fine as a standalone in a script but when I place this in the script I am editing, no file is being created.. Why is that ?? is there something in the script that deletes/ prevents this ??
thnx in adv,