9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to match variable with Point codes.
$Input == xyz-mno-pqr
x,y,z,m,n,o,p,q,r are numbers from 0 to 9.
It may or may not be there
eg
207-89-67
027-089-067
207-9-7
25-98-1
Like these inputs.
How to match these ? (2 Replies)
Discussion started by: Raza Ali
2 Replies
2. Shell Programming and Scripting
Hi forum, I am really hoping somebody can please help me here.
I have a dataset in xyz format, with longitude as x, latitude as y and data readings as z.
eg.
0 90 -8
1 90 23
2 90 -4
etc etc etc
What i am looking to do is format the data so that x and y are untouched, however in... (2 Replies)
Discussion started by: shlam16
2 Replies
3. Shell Programming and Scripting
Pls. advise how to find or used grep recursively all shell script files.
Some files doesnt have a .sh or .ksh extension name.
find / -name "*" |xargs grep bin |grep sh
??
TIA (1 Reply)
Discussion started by: budz26
1 Replies
4. Shell Programming and Scripting
Hi,
when i grep for the process "XYZ" , there will be some good number of processes with that name, i want to kill all the these processes at a time using shell script?
Any help needed for this action.
Thanks
Regards,
Anil (6 Replies)
Discussion started by: anilmanepu
6 Replies
5. Shell Programming and Scripting
hi good day
I have a number of text files (xyz) that I want to format in to defined column widths (that is 7 digits (padding with zeros in cases where necessary) with 6 decimal places) using awk.
.
I can perform this on one text file at a time without any problems.
However I want to write a... (2 Replies)
Discussion started by: johnstrong
2 Replies
6. Shell Programming and Scripting
Hi all,
I am trying to remove the words which has XYZ as a prt of that.
My input file is something like this :
PHNDAZLF-UPS-XYZ' aaaaaaa bbbbb
ADFRTEJKS-XYZ cccccccc ddddddd rrrrrr
SGETHEHDJ-ABC-RXY' hhhhh ttttt' kkkk
FHJSKSJDKD-XXX-YYY
Output expected is :
aaaaaaa... (7 Replies)
Discussion started by: rdhanek
7 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone
I am new to unix . i got struck up with small issue.
i have text file something like this
abc 'xyz' '5'
pqr 'lmn' '6'
i want to replace
abc 'xyz' '5' with abc 'tyr' '9'
but i know the key 'xyz'
based on the key 'xyz' i want to replace
please help me .
its... (3 Replies)
Discussion started by: Vijayaragavan
3 Replies
8. UNIX for Advanced & Expert Users
Hi,
Recently i did some code changes in one of the text file.
During the code review,i've been asked to allign the comments
in this file to XYZ columns(say XYZ=40).
Now the problem is that this file is a huge one and
it would be really pathetic if i go ahead and do it manually.
I think... (1 Reply)
Discussion started by: amit4g
1 Replies
9. UNIX for Dummies Questions & Answers
How would you replace the n character in a file with some xyz? (2 Replies)
Discussion started by: JosephGerard
2 Replies