10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am having this problem:
a) I am uploading a txt file from windows (notepad) with some Gaussian 09 command lines;
b) Gaussian needs in certain command files, that those files have a blank line at the end of the file!
c) I open the command file with vi and no blank line at the of... (2 Replies)
Discussion started by: luismga
2. UNIX for Dummies Questions & Answers
I want ot print a header with new line in the end. I am using echo
like echo "this is header"
I want output like
This is header
I tried -e also but it's not working. echo - e
Can anyone help please? (6 Replies)
Discussion started by: dsa
3. Shell Programming and Scripting
Am totally confused with sed and translate command command.. My problem is
I have a file like
# vi test.csv
IYO_HYTR_FGT_L3_BGT_ICT... (5 Replies)
Discussion started by: Priya Amaresh
4. Shell Programming and Scripting
I have following file contents
I would like to comment line line=eeeeee and insert a new line... (19 Replies)
Discussion started by: manishdivs
5. Shell Programming and Scripting
I am new to this forum. I have a question in Unix shell scripting. Here is my requirement
I have 1000 files and I need to insert a header with one line at the top of
each of the 1000 files. Please let me know if you have any solution for this
Thanks in advance.
Raj (4 Replies)
Discussion started by: trajashekar
6. Shell Programming and Scripting
I have a large file and i need to insert a line after every line.I am actually unaware how to do it.Any help appreciated.
control station *ATM* , qread $OSS.Jul13A.FI01 interval 1 intcount 1
control station *ATM* , qread $OSS.Jul13A.FI02 interval 1 intcount... (4 Replies)
Discussion started by: appu2176
7. UNIX for Dummies Questions & Answers
I can use the following command to insert a ' at the beginning of each line
sed "s/^/'/g" test.txt > test1.txt
However, I'm unable to use the following to insert a ' at the end of each line in this way
sed "s/$/'/g" test.txt > test1.txt
Any... (3 Replies)
Discussion started by: karthiknaidu
8. 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?
Shobana (2 Replies)
Discussion started by: Shobana_s
9. UNIX for Advanced & Expert Users
Is there any command where we can insert a line "2|||" before every line starting with "3|"
my input is as follows
2|EN_GB||Electrogalvanize 0.5 m2 ( Renault )
desired output... (10 Replies)
Discussion started by: laxmi131
10. Shell Programming and Scripting
I have a file where each line starts with a "update" statement. I want to insert a new line, after each line, with the words "go" in the new line. Can someone help me out with this? (1 Reply)
Discussion started by: ssmallya