Results 1 to 6 of 6

Thread: Shell script to read one file and write to many

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Shell script to read one file and write to many

    i am searching a shell script for reading from one file and writing to many files .

  2. #2
    Senior Member
    Join Date
    Aug 2011
    Posts
    406
    Thanks
    0
    Thanked 57 Times in 53 Posts
    Rep Power
    9

    Default

    explain more!
    «A problem clearly stated is a problem half solved.»

  3. #3
    Junior Member
    Join Date
    Mar 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default my problem

    Quote Originally Posted by Watael View Post
    explain more!
    sir,
    actually i want to read from one file viz one line at a time and write it to always in a new file.

  4. #4
    Senior Member
    Join Date
    Aug 2011
    Posts
    406
    Thanks
    0
    Thanked 57 Times in 53 Posts
    Rep Power
    9

    Default

    «to many files» means many names.
    how to give many files different names ?
    «A problem clearly stated is a problem half solved.»

  5. #5
    Junior Member
    Join Date
    Mar 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by Watael View Post
    «to many files» means many names.
    how to give many files different names ?
    problem :- reading from a single file and writing output to always in a new file.

  6. #6
    Senior Member
    Join Date
    Aug 2011
    Posts
    406
    Thanks
    0
    Thanked 57 Times in 53 Posts
    Rep Power
    9

    Default

    «always in a new file» needs "always a new name"

    how do you find out those new names ?
    «A problem clearly stated is a problem half solved.»

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Linux write permission issue: read-only file allowes writing, how and why?
    By unixadmin007 in forum CentOS / RHEL / Fedora
    Replies: 2
    Last Post: 25th May 2012, 04:38 PM
  2. Replies: 3
    Last Post: 1st November 2010, 03:43 PM
  3. directory-mnt-read-write-permission
    By 77yrold in forum Ubuntu / Debian
    Replies: 2
    Last Post: 26th September 2009, 12:22 AM
  4. Replies: 2
    Last Post: 28th June 2009, 09:10 PM
  5. How do I Write a shell script
    By seaman77 in forum Shell scripting
    Replies: 1
    Last Post: 11th February 2009, 02:30 AM

Posting Permissions

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