On Solaris 10, I tried the following, using the POSIX compliant utilities which are in /usr/xpg[46]/bin:
So tr did not work, but sed did
On Linux I had the same experience, but tr also gave an error message, so it appears it only uses single byte characters and it does not understand equivalence classes, but sed worked:
Last edited by Scrutinizer; 12-14-2019 at 06:33 AM..
These 2 Users Gave Thanks to Scrutinizer For This Post:
Hi, I'm trying to write a bash script to find some files. However it seems that the find command is not behaving the same way when the script is executed as it does when executed from the command line:
Script extract:
#!/bin/bash
...
NEW="/usr/bin/find current/applications/ -name '*jar'... (3 Replies)
I am thankful for this site and for the many links provided. I have been going through one of the tutorials, but as I try some things, they don't seem to work.
I am wondering if there is something I need first before being able to use a tutorial (like version number (HP-UX) or how I am getting... (1 Reply)
I use FreeBSD,and use signal,like follows:
signal(SIGHUP,sig_hup);
signal(SIGIO,sig_io);
when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf("execute main()") will print execute main(),but in fact,printf fuction print... (2 Replies)
Hi all.
I have a script as below:
cutmth=`TZ=CST+2160 date +%b`
export cutmth
echo $cutmth >> date.log
sed -n "/$cutmth/$p" alert_sbdev1.log > alert_summ.log
My purpose is to run through the alert_sbdev1.log and find the 1st occurence of 'Jan' and send everything after that line to... (4 Replies)
Following code is detecting solaris daytime,when I run it,I can't get any result,code is follows:
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BUFFSIZE 150
int main(){
... (2 Replies)
I use Solaris 10, I use following code:
#include <signal.h>
int main(void){
printf("----------testing-----------");
if(signal(SIGUSR1,sig_usr)==SIG_ERR)
err_sys("can't catch SIGUSR1");
for(;;)
pause();
sig_user(int signo){
.....
}
when I run above code,it print nothing... (3 Replies)
Hello all!
I have problem in hp-ux 11.11 in awk
I want to grep sar -d 2 1 only 3 column, but have error in awk in hp-ux 11.11
Example:
#echo 123 234 | awk '{print $2}'
123 234
The situattions in commands bdf | awk {print $5}' some...
In hp-ux 11.31 - OK!
How resolve problem (15 Replies)
Hi,
I installed solaris 10 x86 on my local system. it was working fine. today when i started the system, it started up without any problem. when i tried to open the terminal it didn't open any terminal.
Plz help me (0 Replies)
Discussion started by: malikshahid85
0 Replies
LEARN ABOUT CENTOS
libquvi
libquvi(3) libquvi manual libquvi(3)NAME
libquvi - Overview of query media library
DESCRIPTION
libquvi is a cross-platform library for parsing flash media stream URLs with C API. The term "quvi" is a shorthand for "query video".
API documentation
<http://quvi.sourceforge.net/doc/>
Motivation
libquvi originates from the idea of allowing users to view the videos without having to install or use flash. It is a "workaround", not an
"alternative" to flash.
See also:
<http://en.wikipedia.org/wiki/Adobe_Flash#Performance>
<http://en.wikipedia.org/wiki/Adobe_Flash#Flash_client_security>
<http://en.wikipedia.org/wiki/Adobe_Flash#Alternatives_to_Flash>
ENVIRONMENT
LIBQUVI_SCRIPTSDIR
Path to the libquvi-scripts directory. This overrides the libquvi default search paths for the scripts. See also the tutorial in the "API
documentation".
LIBQUVI_SHOW_SCANDIR
If set, libquvi prints the lua script search paths to the stderr.
LIBQUVI_SHOW_SCRIPT
If set, the lua scripts found by libquvi are printed to the stderr.
WWW
Home : <http://quvi.sourceforge.net>
gitweb: <http://repo.or.cz/w/libquvi.git>
LICENSE
libquvi is free software, licensed under the LGPLv2.1+. The lua scripts that libquvi uses are considered as programs and using the lua
scripts is linking.
SEE ALSO
"libquvi-scripts(7)", quvi(1)AUTHOR
Toni Gundogdu <legatvs at sign gmail com>
Thanks to all those who have contributed to the project by sending patches, reporting bugs and writing feedback. You know who you are.
v0.4.1 2011-09-23 libquvi(3)