10 More Discussions You Might Find Interesting
1. BSD
I want to change my MAC at reboot, so making it a cron job like the following in BSD.
Can I do this in the jail for the user, setting it as a command or should it be a script?
I would set it as a command
openssl rand -hex 6 | sed 's/\(..)/\1:/g; s/.$//' just to test it, it works.
To... (0 Replies)
Discussion started by: 1in10
0 Replies
2. Solaris
Hi,
I am trying to build per 5.20.1 on solaris 10 and getting below compilation error.
Creating Makefile.PL in cpan/Archive-Tar for Archive::Tar
Running Makefile.PL in cpan/Archive-Tar
../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none... (1 Reply)
Discussion started by: vikrambhimbar
1 Replies
3. Shell Programming and Scripting
Hi,
I have a shell script which executes some sql. When the shell script executes the sql's logging is shown on the console. I need to grep some data from this output shown on console. So I do the following
hive -f load.adj.hql 2>&1 | tee c.txt
echo $?
A=`grep num_rows c.txt`
$? will... (1 Reply)
Discussion started by: wahi80
1 Replies
4. Shell Programming and Scripting
Hello to all,
The Regex below is supposed to match all strings except RR45. I've tested in regex101.com and it works, butwhen I try to use it with the perl command below I get the error shown.
Regex=(?<=^|RR45)(?!RR45).+?(?=RR45|$)
How to fix this? I'm using Cygwin.
$ echo... (9 Replies)
Discussion started by: Ophiuchus
9 Replies
5. Fedora
Okay, so I'm not a complete newb when it comes to using Unix/Linux. I've been using Ubuntu for a few years now and I've dipped my toes into a few other distros but now I want to get a bit serious.
I'm looking at becoming a sysadmin but the trouble is...I have no idea where to start. What I'm... (1 Reply)
Discussion started by: Tamachan87
1 Replies
6. Shell Programming and Scripting
Hi Buddies,
my pc has two CPU, so CPU1 and CPU2.
I have a perl "a.pl", when i "./a.pl", i can see the CPU1 is full or CPU2 is full, mean only one is full, another one is idle.
Wonderring what shall i do in order to let both CPU to process this a.pl.:(
Thanks (1 Reply)
Discussion started by: jimmy_y
1 Replies
7. HP-UX
Hi, I'm searching website where there is software for HP-UX operating system in free download because I must install Perl, Make and Gmake on HP-UX server. Have you goods URL for me ?
Thank you very much!
bye
Staaan (2 Replies)
Discussion started by: staaan
2 Replies
8. Shell Programming and Scripting
Say I have a single bin directory with Linux and SunOS executables, like this:
bin/myprog_lnx
bin/myprog_sun
Assume these programs read from stdin and write to stdout and, thus, are meant to be run like this:
myprog_lnx < filein > fileout
My users may log in from a Linux or Solaris... (3 Replies)
Discussion started by: gsal
3 Replies
9. Linux
found a few ffmpeg posts and after a few unsuccessful attempts, I have found a solution :)
to encode an avi to to an nokia e71 recognized mp4 format:
ffmpeg -y -i inputFILE.avi -acodec aac -ab 72k -s 320x176 -aspect 16:9 -vcodec h264 -b 300k -qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop... (2 Replies)
Discussion started by: mr_manny
2 Replies
10. News, Links, Events and Announcements
OMGosh!!!
PERL OWZORZ ME!!!!!!!
ok ok let me take a deep breath.....
altho i have just started learning perl and scripting in perl. this is like the BOMB!!!.
you remember when you started shell scripting and you felt limitless. this is how i feel now. how could i have ever lived my life... (4 Replies)
Discussion started by: Optimus_P
4 Replies
otl2pdb(1) General Commands Manual otl2pdb(1)
NAME
otl2pdb - converts vimoutliner outline to AddressDB Palm file.
SYNOPSIS
otl2pdb [filename]
DESCRIPTION
This manual page documents briefly the otl2pdb Perl script.
otl2pdb is a perl(1) script that takes an outline from vimoutliner(1) with contact information and creates an AddressDB.pdb file for a
Palm.
For now this script can only create a .pdb file. You then have to use a syncing tool to load it into your Palm. I recommend the pilot-
link package for linux.
The format of the contact outline is the following:
$category
$record_name
c:$cell
a:$address
....
You can have as many categories and records(entries) as you want. The following are valid fields for a record with the necessary text to
indicate them in quotes:
'a:'-address
'c:'-cell
'e:'-email
'h:'-home phone
'n:'-note
'web:'-website
'w:'-work phone
Also, each record's category is left as 'Unfiled' as I can't get the record's category to write correctly.
SEE ALSO
vim(1), perl(1)
REQUIREMENTS
This program uses the Palm::Address perl module, which is available on CPAN.
TIPS
If using the pilot-link package:
-load the pdb with 'pilot-xfer -i AddressDB.pdb'
-specify the serial port if other than /dev/pilot (which will usually be the case
unless you link to it) with -p in the above command; usually this is /dev/ttyS0 in linux
AUTHOR
The original version was written by Gabriel Walker <cldwalker@chwhat.com>.
If you like using perl, linux, vim and databases to make your life easier (not lazier ;) check out my website at http://www.chwhat.com.
<http://www.chwhat.com>
This manual page was written by Matej Cepl <matej@ceplovi.cz> (using perldoc(1) part of the documented script), for the Debian GNU/Linux
system (but may be used by others).
January 13, 2005 otl2pdb(1)