02-06-2008
re
On running cat, its giving junk data. and "file filename.r" is giving "data"
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. UNIX for Dummies Questions & Answers
I've been sent a file by a client that has no dot extension, which I'm told should be a MSSQL7 database with information I need to get out and ultimately export for upload to another system. My issue is that I have no idea what to do with this file. The properties indicate it's a Unix executable... (1 Reply)
Discussion started by: buccacom
1 Replies
3. Shell Programming and Scripting
Hi,
I've modified the syslogd source to include a thread that will keep track of a timer(or a timer thread). My intention is to check the file size of /var/log/messages in every one minute & if the size is more than 128KB, do a echo " " > /var/log/messages, so that the file size will be set... (7 Replies)
Discussion started by: jockey007
7 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Create a Shell script that looks for all text files in your home directory (including subdirectories).
List... (3 Replies)
Discussion started by: rollinator
3 Replies
6. Shell Programming and Scripting
Hi all.
I have a .txt file that I need to sort it
My file is like:
1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO)
2- ... (10 Replies)
Discussion started by: Behrouzx77
10 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. AIX
Anyone running CICS TX in a WPAR ?
In my attempts to run CICS TX 5.1.0.1 in a WPAR..... CICS fails to start due to unable to load a CICS IPC Kernel Extension. The Kernel Extension is 64 bit (so not a 32 vs 64 bit issue).
Base system/LPAR is Power8 and AIX 7.1 TL3 SP5. WPAR is versioned... (4 Replies)
Discussion started by: The Doctor
4 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT MOJAVE
xvqueryextension
XvQueryExtension(3) libXv Functions XvQueryExtension(3)
NAME
XvQueryExtension - return version and release of extension
SYNOPSIS
#include <X11/extensions/Xvlib.h>
int XvQueryExtension(Display *dpy, unsigned int *p_version,
unsigned int *p_revision,
unsigned int *p_request_base,
unsigned int *p_event_base,
unsigned int *p_error_base);
ARGUMENTS
dpy Specifies the connection to the X server.
p_version Pointer to where the current version number of the Xv video extension is written.
p_revision Pointer to where the revision number of the Xv video extension is written.
p_request_base Pointer to where the extension major request number is returned
p_event_base Pointer to where the extension event base is returned
p_error_base Pointer to where the extension error base is returned
DESCRIPTION
XvQueryExtension(3) returns the version and release numbers for the Xv video extension currently loaded on the system. The extension major
request number, event base, and error base are also returned.
RETURN VALUES
[Success]
Returned if XvQueryExtension(3) completed successfully.
[XvBadExtension]
Returned if the Xv video extension is not available for the named display.
SEE ALSO
Xv(3)
X Version 11 libXv 1.0.7 XvQueryExtension(3)