10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a log file which contains information like below (more than 200 ERROR sets).
Here I want to find first .c file and function after "ERROR: AddressSanitizer" line.
If you see here after "ERROR:" line first
file - asfrecohandling.c
function - ASFPotRecoHandling_Create_RecPaxSrvcComp
... (6 Replies)
Discussion started by: pushpabuzz
6 Replies
2. AIX
I'm using a script that I need to get a file's "last modified date" in a format like 01:51:14 PM. We are running on AIX 6.1.0.0. I can't seem to find the right command parameters. Help! (4 Replies)
Discussion started by: mattadams1983
4 Replies
3. Shell Programming and Scripting
Hi Guys,
I want to display lines from Solaris syslog file but with 2 dates range. I have some similar solution (https://www.unix.com/shell-programming-scripting/39293-grep-log-file-between-2-dates-4.html) which works fine but as you know syslog has different date format (Jan 22) so this is not... (1 Reply)
Discussion started by: prashant2507198
1 Replies
4. HP-UX
Hi,
The blow code does not yeild any output.
find . -name "*.jar" -o -name "*.ksh" -o -name "*.properties" -name "*.war" -o -name "*.ear" -o -name "*.sh" -o -name "*.cfg" -exec ls -l {} \;
I wish to print the filename filesize filedate in HP-UX.
Can anyone help ? (9 Replies)
Discussion started by: mohtashims
9 Replies
5. Shell Programming and Scripting
Hi All,
I need to recursively grep several folders for a MAC address and display the results with the date of the file name at the start. Even better would be if the final results were displayed chronologically so the newest file is always at the end. Oldest at the top, regardless of what... (8 Replies)
Discussion started by: quemalr
8 Replies
6. Shell Programming and Scripting
Hi I have search everywhere for this but I haven't got any result. so here is my question?
I am trying to ask user to enter a name and then searching that name from a file and from a specific column. If user enter something, it should only displaying that name from that specific column and If the... (3 Replies)
Discussion started by: sillyha
3 Replies
7. Shell Programming and Scripting
Dear All
I had below mention requirement. Kindly sugguest me possible ways.
Thanks
Regards
Jaydeep
IN PUT FILE:
CELL BROADCAST SHORT MESSAGE SERVICE
MESSAGE DATA
ID CODE GS UPDATE MODE LANG MCO MCL NUMPAGES
50 1000 0 13 MML 1 1
TEXT PAGE
*999*1# SONGS4U@30/M- 1 (3 Replies)
Discussion started by: jaydeep_sadaria
3 Replies
8. Shell Programming and Scripting
Dear all
I had input file as mention below. From that i want op as given below. Kindly let me knw possible ways.
Regards
Jaydeep
CONNECTED bscaaa
<rxmfp:mo=RXOTX-46-5 ;
RADIO X-CEIVER ADMINISTRATION
MANAGED OBJECT FAULT INFORMATION
MO BTSSWVER
RXOTX-46-5 ERA-G04-R11-V01
... (5 Replies)
Discussion started by: jaydeep_sadaria
5 Replies
9. Shell Programming and Scripting
Dear All
I had input file as mention below. Now from that file i want to search string "FAULT CODES CLASS" and want to display contain again its. ( ie. 1B4 --4 is in next line. ).
Kindly let me know the possible ways.
<rxmfp:mo=RXOTX-46-5 ; ... (3 Replies)
Discussion started by: jaydeep_sadaria
3 Replies
10. Shell Programming and Scripting
Hi All,
I want a shell script which can display the file with in the date range.
For Example I have 15 files with the following format
abc_01-01-2009.txt to abc_15-01-2009.txt.
Now I want to have the files between 4th of jan to 12th files.
How can I acheive this.
Advance... (1 Reply)
Discussion started by: fareed_do
1 Replies