10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
in the below data i need to search for the word typeMismatch and then traverse back to find the filename of that particular mismatch. Like this we have to get all the file names which has error in them. How can i acheive this.
I tried use sed or awk but not able to achevie the same.
Sample... (2 Replies)
Discussion started by: ATWC
2 Replies
2. Programming
Can any one help me out with following problem...
I want to search in a file which has two strings repeat each time(like start and end) i want to search between these two string in C programming.
please help me with the solution.
thanks in advance. (8 Replies)
Discussion started by: uday.sena.m
8 Replies
3. Shell Programming and Scripting
Hi
I have a 57 line text file and I want to cut first 6 line assigned it to a veriable and again cut next 6 line assigned to same variable till the time file have left 0 line.
Please let me know how I can do in scripting.
Thanks
Sanjay (6 Replies)
Discussion started by: Sanjay2121
6 Replies
4. Shell Programming and Scripting
hi, i've searched the forums' entries and have tried some of the examples -- to no avial -- this is my first post -- thanks in advance for your help...
As part of an installation program -- i'm receiving two(2) extraneous "libcxb WARNING!" statements -- i want to use sed to eliminate the... (12 Replies)
Discussion started by: rickkar
12 Replies
5. Shell Programming and Scripting
Can someone please tell me how to do this...
input file - /etc/group:
wheel:*:0:root,timber
daemon:*:1:
mysql:*:88:
...etc...
giants:*:1001:dalton,bandit
dalton:*:1002:
bandit:*:1003:
output file (my goal):
giants:*:1001:
dalton:*:1002:
bandit:*:1003:I've come up with this:
... (3 Replies)
Discussion started by: Lewcifer
3 Replies
6. Shell Programming and Scripting
I have contents like
423562143124/53125351276
sdgas/347236
sjhdk;ls'ald/y62783612763
I need a command that would make the string before / and after / as separate output as (A should contain 423562143124 )and B should
contain 53125351276).
I tried but in vain.
Please help. (19 Replies)
Discussion started by: rollthecoin
19 Replies
7. Shell Programming and Scripting
Hi All,
I have a string like "9633C01302_2". I need to extract the number(02) after "13" and before "_" and the number coming after "13" and before "_" is not constant, it keeps on changing...
Can some one plz help me wth the command..
i tried this echo "9633C01302_2" | cut -d'_' -f1 ..But... (2 Replies)
Discussion started by: grajesh_955
2 Replies
8. Shell Programming and Scripting
Hi:
I have few rows in file..Like suppose...
9063C0 44 00051363603253033253347 3333 070248 06
9063C0 5G PAN00013
9063C0 44 00061030305040404250724 0506 100248 08
9063C0 43 01 00000089
I need to cut the row starting after... (5 Replies)
Discussion started by: grajesh_955
5 Replies
9. AIX
Hello,
I need to delete the final few characters from a parameter leaving just the first few. However, the characters which need to remain will not always be a string of the same length.
For instance, the parameter will be passed as BN_HSBC_NTRS/hub_mth_ifce.sf. I only need the bit before the... (2 Replies)
Discussion started by: JWilliams
2 Replies
10. Shell Programming and Scripting
HI,
I want to cut end string from line.
e.g. i have following input line
/users/home/test.txt
I want to get end string 'test.txt' from above line and length of that end string will change and it always start after '/'.
Thanks,
Visu (7 Replies)
Discussion started by: visu
7 Replies