SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    simulating cat,grep,tail

    Write a Javascript for Simulating cat,tail ,grep commands
    Javascript should have two textareas,one accepting data as input and the other for output.

  2. #2
    rajug.replace('Raju Gautam'); bronze trophy Raju Gautam's Avatar
    Join Date
    Oct 2006
    Location
    Kathmandu, Nepal
    Posts
    4,013
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hariparshi View Post
    Write a Javascript for Simulating cat,tail ,grep commands
    Javascript should have two textareas,one accepting data as input and the other for output.
    Do you mean those commands in Linux/Unix?
    cat - creating and displaying short files.
    grep - search file
    tail - display last part of file

    Do you want the same functionality with the JS function should work for you? I don't think that much file manipulation possible with only JavaScript.
    Mistakes are proof that you are trying.....
    ------------------------------------------------------------------------
    PSD to HTML - SlicingArt.com | Personal Blog | ZCE - PHP 5

  3. #3
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds like someone wants us to do their homework for them.
    Birnam wood is come to Dunsinane


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •