10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Team,
Here's the record in a file.
abc\USER DEFINED\123\345\adf\aq1
Delimiter here is "\USER DEFINED\"
Expected output:
abc|123\345\adf\aq1
Find "\USER DEFINED\" and replace it with "|".
Can anyone please help us to fix this issue?
Please use CODE tags as required by... (5 Replies)
Discussion started by: kmanivan82
5 Replies
2. Shell Programming and Scripting
Hi folks,
I have a line in log from which I need to parse few data.
Jul 6 00:05:58 dg01aipagnfe01p %FWSM-3-106011: Deny inbound (No xlate)
From the above... I need to parse the %FWSM-3-106011: substring.
Another example
Jul 13 00:08:55 dq01aipaynas01p %FWSM-6-302010: 2 in use, 1661... (3 Replies)
Discussion started by: scriptscript
3 Replies
3. Programming
hi! i made an sql script but i do not know how to just output all the lines that starts with an specific string. and that string, you will input it before i run the sql
for example:
INPUT NAME: JOHN
i just want to output lines that starts with JOHN (2 Replies)
Discussion started by: engr.jay
2 Replies
4. Shell Programming and Scripting
Hi there, I have a bunch of vlan tagged network interfaces that are named as follows
e1000g111000
e1000g99001
e1000g3456000
nge2002
where the 'e1000g' and 'nge' parts of the name are the driver, the red and blue bits above define the VLAN and the last digit on the end defines the... (3 Replies)
Discussion started by: rethink
3 Replies
5. Shell Programming and Scripting
Hi all,
I want to extract "this_data" from the string below using awk
<Bundle_Name>this_data</Bundle_Name>
Any help would be appreciated (5 Replies)
Discussion started by: cillmor
5 Replies
6. Shell Programming and Scripting
Hi,
I have a file with data as follows:
324dsadfasfgf23<xmlsssssssssssssssssssssssssssssssssssssss<fdf>dfsdf>
i need all the data followed by the string <xml?
Is it possible to retrieve it? (1 Reply)
Discussion started by: Vijay06
1 Replies
7. Shell Programming and Scripting
:confused: How can I exrtact the code HU52143N200401 from a string that contains &gt;HU52143N200401&lt; (10 Replies)
Discussion started by: gugs
10 Replies
8. UNIX for Dummies Questions & Answers
Hello everyone !
I need to get the data in a file into a string.
file1
1
2
3
4
5
I need to write a script where the file1 info is stored in a string (say variable s). So the output should be
1,2,3,4,5 or (1,2,3,4,5)
If i say
echo $s or print $s
output should be
1,2,3,4,5
or
... (7 Replies)
Discussion started by: i.scientist
7 Replies
9. Programming
Hi,
I am trying to read a FILE data type into a String data type, I tried to make the FILE* veriable just equal the String veriable but i get:
Conversion from 'FILE*' to 'String' is ambiguous
Has anyone got any idea?
Thanks (4 Replies)
Discussion started by: cb.mark
4 Replies
10. Shell Programming and Scripting
Can any one please lend a helping hand here?
eg. find /tough -name temp1 -print
After finding the location of all temp1 files. I need to extract some data( some are multiple others are just one entry) from each of the temp file.
eg Order_Error{"aaaa")
Order_Error("bbba")
... (2 Replies)
Discussion started by: odogbolu98
2 Replies