Hello
I have just stared work and this stupid little program is baffling me. I am only an intern so please don't scream.
I am using the Korn Shell
I have a directory of SQL files. eg boo.sql. I want to create one file with the content of all the sql files in the directory. But i also need to have the name of the file before the actual sql code in the new file. The files have no naming convention.
I know i have to write a korn script but i have no clue how to do this or what i need to include in the script (apart from the cat command. I have got somewhere)
Can anyone help?
Thanks
Chirag
I have just stared work and this stupid little program is baffling me. I am only an intern so please don't scream.
I am using the Korn Shell
I have a directory of SQL files. eg boo.sql. I want to create one file with the content of all the sql files in the directory. But i also need to have the name of the file before the actual sql code in the new file. The files have no naming convention.
I know i have to write a korn script but i have no clue how to do this or what i need to include in the script (apart from the cat command. I have got somewhere)
Can anyone help?
Thanks
Chirag