Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Unix file editing
Name: Jinsonsanik Date: January 4, 2009 at 21:11:29 Pacific OS: AIX 64 Bit CPU/Ram: intel Product: Dell / 4 Subcategory: Software Problems
Comment:
I am reading a file where contain all the file names eg filenames.txt. each line of filenames.txt contains a name and i am creating different files using line1.txt etc. i want to change the name of the file with in the new created file . copied file may have a constant name like "abcdefg" i want change its like line1.txt. could someone can help me on this?
Name: nails Date: January 4, 2009 at 21:36:16 Pacific
Reply:
Sorry, but your question is not clear - at least not to me.
0
Response Number 2
Name: Jinsonsanik Date: January 4, 2009 at 22:03:15 Pacific
Reply:
Sorry . I just want to replace a text in a file . eg 1.txt file contains a text like "abcde" i want to replace that with"ABCDE".this "ABCDE" going to be a variable in my shell script . could you please suggest me how to deal this ?
0
Response Number 3
Name: unixmen Date: January 6, 2009 at 09:40:06 Pacific
Reply:
the best way is to use The Vi editor with option to change any word abcd with ABCD
Summary: Hello John I use Samba 2.2.2 in my office to see my Unix file system on my Windows NT machine. You can get the software freely from www.samba.org Samba2.2.3a is the latest version. So, get it fr...
Summary: Hi, I am facing some problems with the unix file system.My problem is I am fetching some records from the database and storing it in a file.the size of the each record is mentioned as 512 by us.when a...