10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Like to have shell script to Read the given file contents into a merged one file with header of path+file name followed by file contents into a single output file.
While reading and merging the file contents into a single file, Like to keep the format of the source file.
... (4 Replies)
Discussion started by: Siva SQL
2. Shell Programming and Scripting
I have input data looks like this which is a part of a csv file
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
3. Shell Programming and Scripting
I want to to backup some "default:" values from a file do some other job and after restore that "default:" values back.
The problem is that the source and destination file has a lot of default: strings in it but with different values...
Here is an example:
A part of my source... (6 Replies)
Discussion started by: ausdim
4. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
5. Shell Programming and Scripting
I have a file with few values in it. I need script help to read file line by line and check:
1/if it's a file (with extension eg .java .css .jar etc )
2/if it's a file without extension and treat it as a directory and then check if the directory exists in working copy else create one... (6 Replies)
Discussion started by: iaav
6. Shell Programming and Scripting
Need shell script to read two file at same time and print output in single file
Example I have two files 1) file1.txt 2) file2.txt
Xxx (10 Replies)
Discussion started by: sreedhargouda
7. Shell Programming and Scripting
I am a begginer in unix and i want to know how to open a file and read it and separate the numbers & words and storing it in separate files, Using shell scripting.
Please help me out for this.
S.Kamakshi (2 Replies)
Discussion started by: kamakshi s
8. Shell Programming and Scripting
This is shell programming assignment.
It needs to create a file called .std_dbrc contains
(which includes all my simple database files)
and I am gonna use this .std_dbrc in my script file (read the data from the database files)
like this: .... (3 Replies)
Discussion started by: ccwq
9. Shell Programming and Scripting
Please help me in creating files through K-shell scripts.
I am having one file in this format.
I want to read the above file and create new file through k shell script.
The new file should looks like this.... (4 Replies)
Discussion started by: bsrajirs
10. UNIX for Advanced & Expert Users
I want to read some number from a file into a variable in C shell as follows.
I know that the syntax in ksh is
read x < file name
I dont know what's the equivalent for this in C Shell
Can some one pls. help me out?
Thanks in advance
raju (2 Replies)
Discussion started by: rajugp1