User Profile

Collapse

Profile Sidebar

Collapse
zehrhand
zehrhand
Last Activity: Nov 15 '07, 11:31 PM
Joined: Nov 11 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • zehrhand
    replied to about output redirection
    yea but i want to write a function which does that job.i dont want to use built-in functions..if my shell uses system functions for all jobs,then whats the point of writing a shell?
    See more | Go to post

    Leave a comment:


  • zehrhand
    replied to about output redirection
    i am talking about the output of "ls -al "here..not all of the outputs we get from the shell...
    See more | Go to post

    Leave a comment:


  • zehrhand
    replied to about output redirection
    sorry about the duplicate post i tried to delete it but couldnt figure out how to do that.
    i am trying to build a shell for my hw so if the user enters such a command "ls -al > myfile.txt" my shell should write the "ls -al" output into the myfile.txt instead writing to shell page..(just the same what bash shell does)
    See more | Go to post

    Leave a comment:


  • zehrhand
    started a topic about output redirection

    about output redirection

    hello!
    I am currently writing my own script and need help on output redirection.as u know 'ls -al > myfile' would write the files in the current directory into the file called myfile.i know about opening a file and writing with fputc but have no idea about how to prevent the command from writing the output to terminal and get the output data to write to file..i hope i could tell my problem and someone could have an idea.
    See more | Go to post
No activity results to display
Show More
Working...