10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a text file as belows, it includes 2 columns, 1st is the column name, 2nd is the file_name
now, i would like to... (4 Replies)
Discussion started by: tester111
2. Shell Programming and Scripting
i have a generated report in unix in the following command like
the input file format is fixed
I need the my output file with append text as below
0124 count : 8
0125... (34 Replies)
Discussion started by: hemanthsaikumar
3. Shell Programming and Scripting
I am trying to write an shell, which reads a text file (from a location) having a list of numbers of strictly 5 digits only ex: 33144
Now my script will check :
1) that each entry is only 5 digits & numeric only, no alphabets, & its not empty.
2)then it executes a shell script called... (8 Replies)
Discussion started by: new_to_shell
4. Shell Programming and Scripting
I was given a task to append three IP's at the end of a specific (and unique) line within a file on multiple servers.
I was not able to do that with the help of a script. All I could was:
for i in server1 server2 server3 server4
I know 'sed' could be used to... (5 Replies)
Discussion started by: momin
5. Shell Programming and Scripting
This is the ldf file
sn: Actionteam... (1 Reply)
Discussion started by: LinuxFriend
6. Shell Programming and Scripting
i have a text file that is generated automatically of an another korn shell script, i want to bring in the fifth line of the text file in to my korn shell script and look for a particular word in the line . Can you all share some thoughts on this one.
Venu (3 Replies)
Discussion started by: venu
7. Shell Programming and Scripting
Say I have a text file like:
How would I use ksh to put the number '2' into the second line of that file? I'm using OpenBSD so the sed syntax might be a bit different (I have no idea how to use sed, though) (4 Replies)
Discussion started by: guitarscn
8. Shell Programming and Scripting
I have an issue where I need to append a value at the last of the csv, I have created a shell script and it is appending the columns at the last but it is appending at all lines, and my requirement is specific to just append at the 1st line.
Have a look and suggest, (7 Replies)
Discussion started by: anujrichhariya
9. Shell Programming and Scripting
I have gps receiver log..its giving readings .like below
Connected to localhost.
Escape character is '^]'.
$GPGSV,3,1,11,08,16,328,40,11,36,127,00,28,33,283,39,20,11,165,00*71... (3 Replies)
Discussion started by: gudivada213
10. Shell Programming and Scripting
I need to append some text @ end of the first line in a file.
list = a,b,c
I give the arg "d" . now it append at end of first line
Please help me out this (7 Replies)
Discussion started by: catgovind