At 2004-09-02 00:36:20 -0700, [EMAIL PROTECTED] wrote:
>
> My understanding -> you are writing script "a.sh" and you want to pass
> all the outputs to a custom file a.log
Your understanding is wrong. Please read the thread carefully before you
jump in.
-- ams
How about a simple idea
My understanding -> you are writing script "a.sh" and
you want to pass all the outputs to a custom file
a.log
You can do a
$ nohup a.sh
This will create a nohup.out file in the Home
directory, which you can afterwards rename to a.log
Rest of the automation, I hope you c
On Thursday 02 Sep 2004 10:02 am, amitflu wrote:
> Ok, Even if it is an unsound design lets forget
> the design.
>
> Dont we have any way to get what I am trying to
> get.
>
A solution was proposed by raj and demonstrated by both raj and ams on the
ilugd-dev list. Check the archives of that list.
Ok, Even if it is an unsound design lets forget
the design.
Dont we have any way to get what I am trying to
get.
Regards,
Amit
__
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
At 2004-09-01 21:16:24 -0700, [EMAIL PROTECTED] wrote:
>
> I simply want name of standard output file in my script.
>
> For example...
> if user runs :- ./myscript > anyfile.txt
>
> In this case I need "anyfile.txt"
That's an unsound design. Don't prevent your users from redirecting to
a device
Thanks for your reply.
No the page you sent just manipulates with the
data that is written into that standard output
file but I actually need the name of the file.
I have searched a lot in the internet and I
believe its not impossible.
Thanks and Reagards,
Amit
__
> amitflu wrote:
>> I need to use the name of the Standard output
>> file provided by the user in a shell script.
>> for example:-
>> ./myscript.sh > amit.txt
>> so I need to use "amit.txt" somewhere into my
>> shell scipt.
>> So please tell me how can i fetch it.
Sandip Bhattacharya wrote:
> You c