Hi all,
In unix shell, I want to get two strings ending with "." and starting with "." from a string "chan.txt"
For example, a string "chan.txt".
The first string is "chan"
The second string is "txt"
Yours
Wilson (1 Reply)
Hi,
I am trying to build the package for my build tree built with HP UX ecom compiler. I added the flags +check=all to enable run time checks.
I compile the tree successfully, but while making the packages I am getting following error:
=== vxms tests
= Generating pgncpio
ld: (Warning)... (5 Replies)
AIX 4.2
I am trying to do an rsh grep to search for date records inside server logs by doing this :
xx=`date +"%a %b %d"`
rsh xxx grep "^$XX" zzz
gives :
grep: 0652-033 Cannot open Jun.
grep: 0652-033 Cannot open 11.
But if I do :
xx=`date +"%a %b %d"`
grep "^$XX" zzz
it works... (2 Replies)
im a new student in programming and im stuck on this question so please please HELP ME. thanks.
the question is this:
enter a command to delete all files that have filenames starting with labtest, except labtest itself (delete all files startign with 'labtest' followed by one or more... (2 Replies)
Hi All ,
I want to delete files from /tmp directory created by "xxxx" id.
because i got the list says more than 60 thousand files were created by "xxxx" id since 2002.
The /tmp directory has lot of files created by different user ids like root,system etc..
But, i need a script to... (2 Replies)
Hi All,
I have working (Perl) code to combine 2 input files into a single output file using the join function that works to a point, but has the following limitations:
1. I am restrained to 2 input files only.
2. Only the "matched" fields are written out to the "matched" output file and... (1 Reply)
Hi
I was wondering if anybody has come across in a failure of fuser command.
We have a backup script that is:
fuser -c -k /XXX/XXXXXXX
sync;sync
umount /XXX/XXXXXXX/
backup -0 -f /dev/rmt0.1 -u /dev/XXXXXXXlv
mount /XXX/XXXXXXX/
sync;sync
The script is called from crontab via an... (2 Replies)
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)
Hi Folks,
As per the subject, the following command is not working as expected.
echo $variable | mail -s "subject" "xxx@xxx.com"
Could anyone figure it out whats wrong with this. I am using AIX box.
Regards, (2 Replies)
Dear Ladies & Gents,
I have a requirement to delete all the log files in /var/log/test directory that are older than 10 days and their first line begin with "MSH" or "<?xml" or "FHS". I've put together the following BASH script, but it's erroring out:
for filename in $(find /var/log/test... (2 Replies)
Discussion started by: Hiroshi
2 Replies
LEARN ABOUT CENTOS
nspr-config
NSPR-CONFIG(1) Netscape Portable Runtime NSPR-CONFIG(1)NAME
nspr-config - Return meta information about nspr libraries
SYNOPSIS
nspr-config [--prefix] [--exec-prefix] [--includedir] [--libs] [--cflags] [--libdir] [--version]
DESCRIPTION
nspr-config is a shell script which can be used to obtain gcc options for building client pacakges of nspr.
OPTIONS --prefix
Returns the top level system directory under which the nspr libraries are installed.
--exec-prefix
Returns the top level system directory under which any nspr binaries would be installed.
--includedir count
Returns the path to the directory were the nspr headers are installed.
--version
Returns the upstream version of nspr in the form major_version-minor_version-patch_version.
--libs
Returns the compiler linking flags.
--cflags
Returns the compiler include flags.
--libdir
Returns the path to the directory were the nspr libraries are installed.
EXAMPLES
The following example will query for both include path and linkage flags:
/usr/bin/nspr-config --cflags --libs
FILES
/usr/bin/nspr-config
SEE ALSO pkg-config(1)AUTHORS
The NSPR liraries were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google.
Authors: Elio Maldonado <emaldona@redhat.com>.
LICENSE
Licensed under the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
nspr 4.10.2 17 June 2014 NSPR-CONFIG(1)