10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
We are getting an external file in abc.csv format. When opened in excel spread sheet, it is opening alright. But when opened in notepad, I see the contents in a single line.
Ftp'd the file in binary mode to AIX UNIX host. When opened, I see Control M (^M) characters in place of New Line... (16 Replies)
Discussion started by: njny
16 Replies
2. Shell Programming and Scripting
So say I have the file:
john
london
24
male
========
jane
london
22
female
========
mike
23
========
Bob
how do i get the information i need on one line as such: (5 Replies)
Discussion started by: linuxkid
5 Replies
3. Shell Programming and Scripting
Hello all,
I have the following problem:
My input is two sorted files:
file1
>1_19_130_F3
T01220131330230213311013000000110000
>1_23_69_F3
T01200211300200200010000001000000
>1_24_124_F3
T010203113002002111111200002010
file2
>1_19_130_F3
24 18 9 18 23 4 11 4 5 9 5 8 15 20 4 4 7 4... (9 Replies)
Discussion started by: DerSeb
9 Replies
4. Shell Programming and Scripting
I have the following text format in a file which lists the question first and then 5 choices
after that the explanantion and finally the answer.
1.The amount of time it takes for most of a worker’s occupational knowledge and skills to become
obsolete has been declining because of the... (2 Replies)
Discussion started by: nanchil_guy
2 Replies
5. UNIX for Dummies Questions & Answers
How to add control characters at the end of each line in a file?
Can anyone help me with this?
Thanks,
Shobana (2 Replies)
Discussion started by: Shobana_s
2 Replies
6. Shell Programming and Scripting
Hi,
How can i move to particular line and to a particular position in a file using unix commands ?
eg: in the line 30 and position 10 i want to print my name in a file.
Cheers,
Mohan (1 Reply)
Discussion started by: mohanpadamata
1 Replies
7. Shell Programming and Scripting
Hi,
I need to create a report in unix by moving to specified lines and specified positions and print some strings etc..
for eg: i need to print a string on 15th line and 7th position of a file.
Please suggest.
Thanks,
Mohan (3 Replies)
Discussion started by: mohanpadamata
3 Replies
8. Shell Programming and Scripting
Hi,
In shell script, I have a value and i like to move that value to a particular position in a file.
For example, if i have 20000909 then i like to move that to the 15 to 23
position in a file.
Is it possible to have array kind of thing in the shell ?
a is array then
a = 123
a =... (2 Replies)
Discussion started by: informsrini
2 Replies
9. Shell Programming and Scripting
I'm rather new to scripting, and despite my attempts at finding/writing a script to do what I need, I have not yet been successful.
I have a file named "list.txt" of arbitrary length with contents in the following format:
/home/user/Music/file1.mp3
/home/user/Music/file2.mp3... (21 Replies)
Discussion started by: Altay_H
21 Replies
10. Shell Programming and Scripting
Hi there,
I have progress bars in several of my scripts, they work by deleting what has already been writen out, using:
clear = "\\010"*( length of string i want to delete )
clearCmd = "echo -ne \""+clear+"\""
os.system(clearCmd)
I then re-write the percent done & the progress... (4 Replies)
Discussion started by: purest
4 Replies