10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have below file, each line that starts with /* marks the beginning of the a new job.
/* ----------------- cmdsMlyMoveTPMPLANTJ -----------------
UNIX_JOB CMMM002J
CMDNAME /home2/proddata/bin/moveTPMPLANT.sh
AGENT CMDSHP
USER proddata
AFTER CMMU001J
/* "DDRG monthly... (13 Replies)
Discussion started by: varun22486
13 Replies
2. Shell Programming and Scripting
I am trying to search a file for a patterns ERR- in a file and return a count for each of the error reported
Input file is a free flowing file without any format
example of output
ERR-00001=5
....
ERR-01010=10
.....
ERR-99999=10 (4 Replies)
Discussion started by: swayam123
4 Replies
3. Shell Programming and Scripting
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
Discussion started by: vivek d r
10 Replies
4. Shell Programming and Scripting
i have list in file named sample.txt
eg
i want to cut the 3rd and 4th character i.e. 01,02,03....,24(max length is 24)
and i want to find the missing sequence .and display them
i.e. (15 Replies)
Discussion started by: sagar_1986
15 Replies
5. Shell Programming and Scripting
Hi i want to cut a variable like if it is
ABCDEF
then i want to cut "DEF" only
Please help me regarding this. (1 Reply)
Discussion started by: aishsimplesweet
1 Replies
6. Shell Programming and Scripting
Hi, As I am new to filtering section of Unix I am facing a problem
I have following lines in text file :
Created RELEASE in dist/Apple_release_1_0_.zip
Created RELEASE in dist/Banana_release_1_0_.zip
Created RELEASE in dist/Mango_release_1_0_.zip
Created RELEASE in... (2 Replies)
Discussion started by: bhaskar_m
2 Replies
7. UNIX for Dummies Questions & Answers
Depending upon character at particular position in a line, string needs to be appended followed by empty spaces till 256th column position at the end of the each line in the file.
example:
123p4 J8769
123q4 R2345
123r4 S2345
What I Require is, it has to check at 7th column character and... (10 Replies)
Discussion started by: vaka
10 Replies
8. UNIX for Dummies Questions & Answers
I have many files that have "inputstring" somewhere in their filename (without the quotes), and I want to rename them all so that "inputstring" is replaced with "newstring". And I also want to specify arbitrary text for "inputstring" and "newstring" so that I can call the scripts that does this... (6 Replies)
Discussion started by: karman
6 Replies
9. Shell Programming and Scripting
Hello All,
Plz help me with:
I have a csv file with data separated by ',' and optionally enclosed by "". I want to check each of these values to see if they exceed the specified string length, and if they do I want to cut just that value to the max length allowed and keep the csv format as it... (9 Replies)
Discussion started by: ozzy80
9 Replies
10. Shell Programming and Scripting
Depending upon the occurence of string 'xyz', I want to remove -t from the input file.
There is not a fixed length input file.
Any suggestions
Input file:
this is xyz line -t of the data
this is line 2 of -t of the data
xyz this is line 3 of -t the file
this is line xyz of the -t file... (1 Reply)
Discussion started by: hemangjani
1 Replies