10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In the awk below I am trying to remove all instances after a ; (semi-colon) or , (comma) in the ANN= pattern. I am using gsub
to substitute an empty string in these, so that ANN= is a single value (with only one value in it the one right after the ANN=). Thank you :).
I have comented my awk and... (11 Replies)
Discussion started by: cmccabe
2. Shell Programming and Scripting
I have the following file I wanted to convert mutiple spaces to tab:
I tried cat filename | tr ' ' '\t' or sed 's/ */ /' FILE
but it looses the format
5557263102 5557263102 5552074858 5726310211 5557263102 5557263102
5557263103 5557263103 2142406768 ... (2 Replies)
Discussion started by: amir07
3. Shell Programming and Scripting
I have number in file which contains date and serial number:
The last two digits are serial number (00). So maximum of serial number is 100.
After reaching 100 it becomes 00 with incrementing 10 which is day with max 31.
after reaching 31 it becomes 00 and increments 10... (31 Replies)
Discussion started by: Natalie
4. Shell Programming and Scripting
I wrote a simple script, which will call other scripts or run commands on a UNIX server. my script has multiple steps/commands with some delay in between.
I usually get some email notifications after the successful execution of each step.
**My intention is to get email alerts when it is... (5 Replies)
Discussion started by: System Admin 77
5. UNIX for Dummies Questions & Answers
I am pretty new to the unix community and have encountered a problem that I am trying to solve. I have 2 files one of which is called passwd file that looks like the following
... (1 Reply)
Discussion started by: raven905
6. Shell Programming and Scripting
i need to configure around 80 printers in a server. can someone please help me with the script.
i have a file that has printer name and its ip.
and so on.. can some one please help me to do it via script.
i am using solaris 10
... (0 Replies)
Discussion started by: chidori
7. Shell Programming and Scripting
Hello, I have an input file that I need formatted. I was hoping I could use bash to get this done.
Desired output would be similar to
Results("Blender","Washer","Dishes") (1 Reply)
Discussion started by: jl487
8. Shell Programming and Scripting
assume that i am having two files file.1 and file.2
these are the contents of file.1
these are the contents of file.2
i want these two contents to be written in another single file like this.
can you please post your suggestions.
Thanks in advance,
... (3 Replies)
Discussion started by: anishkumarv
9. Shell Programming and Scripting
I had a file called Input.txt, i need to group up in a single line as 1=ttt and the no of lines may vary bewteen the 1=ttt
1=ttt, 2=xxxxxx, 3=34436 66
3545, 4=66666, 5=ffffff, 6=uuuuuuu
1=ttt, 2=xxxxxx,... (4 Replies)
Discussion started by: manosubsulo
10. IP Networking
I need a script to assign multiple IP addresses to a single nic.
The machine is running CentOS.
Any help would be appreciated. (2 Replies)
Discussion started by: ron310