10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi Folks -
I'm getting the following error message when executing my script:
$ chmod +x Winexe_Admin.sh
$ ./Winexe_Admin.sh
Script Name: Winexe_Admin.sh
Script Name without EXT: Winexe_Admin
./Winexe_Admin.sh: line 43: ${_MAINPATH}${_LOGPATH}${LOGPATH$}${_YEAR}_${_MONTH}${_DAY}: bad... (2 Replies)
Discussion started by: SIMMS7400
2 Replies
2. Shell Programming and Scripting
hi all,
i had the below script
filename = /osa/data1/output.txt
printf '%27s%53s\n' ' CURRENT DATE' 26-08-2014 >> $filename
iam getting the ambigiuos redirect error in the 2nd line of the code...please guide me
regards,
vasa saikumar (3 Replies)
Discussion started by: hemanthsaikumar
3 Replies
3. Solaris
Hi Guys,
I just got this error:-
Your "cron" job on server2
/usr/5bin/ssh sysmgr@server1 /usr/local/bin/sudo /opt/local/pdm/bin/mount_pdmprod
produced the following output:
** /dev/rdsk/c1t5006016C446023DEd0s2
** /dev/rdsk/c1t5006016C446023DEd1s2
** /dev/rdsk/c1t5006016C446023DEd2s2... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
4. Solaris
I keep getting "Too many open files" in /var/adm/messages that I do not know how to fix.
I've searched for solution on this forum and have increased the file descriptors limit but the problem persists.
The problem is happening in a solaris zone....
/var/adm/messages log example
May... (8 Replies)
Discussion started by: JT-KGY
8 Replies
5. Solaris
Hi all,
OS is Solaros 10 Sparc
While doing Netbackup upgradation to 7.5 , the server was asked to reboot.
But then it came up in single user mode,
and after I typed format command it showed some disk error.
bash-3.00# format
Searching for disks...WARNING:... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
6. Shell Programming and Scripting
Hi All !
I am just trying to print bash variable in awk statement as string
here is my script
n=1
for file in `ls *.tk |sort -t"-" -k2n,2`; do
ak=`(awk 'FNR=='$n'{print $0}' res.dat)`
awk '{print "'$ak'",$0}' OFS="\t" $file
n=$((n+1))
unset ak
doneI am getting following error
awk:... (7 Replies)
Discussion started by: Akshay Hegde
7 Replies
7. Shell Programming and Scripting
what is this error log = hda: irq timeout: error=0x00 and how to solve?
every day upon checking the logs i see this error.
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hw_client: segfault at 0000000000000046 rip... (3 Replies)
Discussion started by: avtalan
3 Replies
8. Shell Programming and Scripting
Here is an awk statement i am using to sum a series of numbers..
awk -F"," '{ for (i=1; i<=NF ; ++i) sum += $i;} # if (i > max) max=i }
END { s=""; for (i=1; i<=max; ++i) { printf "%s%s", s, sum; s=","; } printf "\n" }' filename.csv
It works fine for the summing part. But since my series... (19 Replies)
Discussion started by: pravsripad
19 Replies
9. Solaris
required Solaris 5.10 Kernel patch 137111-03
required Solaris 5.10 Fibre Channel Device Driver patch 125184-08
I want to know about the descriptions and what the patches will do. I searched www.sun.com (patches/updates) but don't see I am looking for. (1 Reply)
Discussion started by: Y4Net
1 Replies
10. Programming
hi
i have created socket program with proper IP address and port no
client side port no 1085 and 1086
gateway side port no 1086 and 1085
and port no 1087 and 1088
receiver side port no 1088 and 1087
well it works fine on client and gateway side not on receiver and gateway side... (2 Replies)
Discussion started by: bhakti
2 Replies
MLPOST(1) General Commands Manual MLPOST(1)
NAME
mlpost - wrapper around OCaml and Metapost for the Mlpost library
SYNOPSIS
mlpost [options] files...
DESCRIPTION
mlpost is a program that compiles OCaml files to PostScript or PDF files using the Mlpost library.
OPTIONS
-pdf Generate .mps files (default)
-mp Generate .mp files
-png Generate .png files
-ps Generate .1 files
-latex <main.tex>
Scan the LaTeX prelude
-eps Generate encapsulated postscript files
-xpdf WYSIWYG mode using xpdf remote server (the name of the remote server is "mlpost")
-v Be a bit more verbose. Otherwise nothing is printed except in case of error.
-ocamlbuild
Use ocamlbuild to compile
-native
Compile to native code
-ccopt <options>
Pass <options> to the Ocaml compiler
-execopt <options>
Pass <options> to the compiled program
-version
Print Mlpost version and exit
-no-magic
Do not parse mlpost options, do not call Metapost.dump
-depend
output dependency lines in a format suitable for the make(1) utility
-contrib <contrib-name>
compile with the specified contrib
-dumpable
output one name of dumpable file by line. So it print all the figures which will be created by the .ml file.
-get-include-compile {cmxa|cma|dir|file}
output the libraries which are needed by the library Mlpost if you want not to use the mlpost tool :
- cmxa print the needed cmxa file (opt version)
- cma print the needed cma file (byte version)
- dir print the directories needed to be include
- file print the file name inside this directory without extension
-compile-name <compile-name>
Keep the compiled version of the .ml file and name it <compile-name>.
-dont-execute
Don't execute the mlfile. So mlpost generates no figures. With this option you can check that a file compile without wasting time to
generate the figures. The options -dont-execute and -compile-name can be used in conjunction to create a program which generates
some figures according to some command line options.
-dont-clean
Don't remove intermediates files. The metapost backend use some intermediates files which are removed without this option.
-cairo Use the cairo backend instead of metapost
-t1disasm
Set the program used to decrypt PostScript Type 1 font, only with cairo (default built-in one). This option will disappear soon.
-help, --help
Display the list of options
SEE ALSO
mpost(1), ocamlc(1), xpdf(1).
AUTHOR
Mlpost was written by Romain Bardou, Francois Bobot, Johannes Kanig, Stephane Lescuyer and Jean-Christophe Filliatre.
This manual page was written by Stephane Glondu <steph@glondu.net> and completed by the Mlpost authors for the Debian project (but may be
used by others).
August 2009 MLPOST(1)