Hi all,
Maybe my question is too simple but till now i couldn't figure about a solution :(
I have a bash script scheduled in cron:
<cron time parameters> my_script.sh > result.log 2>&1
By this way i can have standard output and standard error in my result.log file
Now i want my script... (2 Replies)
Hello,
I'm trying to write a bash script that will query the current system time (OS X 10.6.6) and then convert the output from HH:MM:SS into time in seconds. The output of the system time command (systemsetup -gettime) is returned as:
Time: HH:MM:SS
so I wanted to use awk -F: to grab... (5 Replies)
Hi Folks,
I know on one side there is script and on another side there is smart script. I am able to achieve what I got but thought there has to be a code which doesn't require multiple lines. So if you guys can help me out than it will be awesome. Also I wrote in cshell but if can get both the... (4 Replies)
I am embedding bash in cpp. Can the bash code be hidden (when we cat the executable to not be able to see the bash code)
The simple code I am using:
#include <iostream>
#include <cstdlib>
using namespace std;
#define test1 "\
#!/bin/sh --posix \n\
echo... (1 Reply)
i have defined a function ln_s() for customizing the ln command in script1.sh.
more script1.sh
echo "Starting Execution"
./script2.sh
echo "End of Execution"
ln_s(){
] && return
ln -s "$1" "$2"
}
My script1.sh executes another script2.sh which has the following entry
more script2.sh... (12 Replies)
Hi,
I need to perform the untar and rm operation if the file found is a .tar and does not have test.tar or hello.tar as the file names.
Below is the loop to check the same.
for tf in *.tar
do if ]
then found=1
... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT DEBIAN
jflex
JFLEX(1) General Commands Manual JFLEX(1)NAME
jflex - a lexical analyzer generator (also known as scanner generator) for Java
SYNOPSIS
jflex <options> <input-files>
DESCRIPTION
JFlex is a lexical analyzer generator (also known as scanner generator) for Java(tm), written in Java(tm). It is also a rewrite of the very
useful tool JLex. JFlex is designed to work together with the LALR parser generator CUP, and the Java modification of Berkeley Yacc
BYacc/J. It can also be used together with other parser generators like ANTLR or as a standalone tool.
OPTIONS -d <directory>
write generated file to <directory>
--skel <file>
use external skeleton <file>
--switch, --table, --pack
set default code generation method
--jlex strict JLex compatibility
--nomin
skip minimization step
--nobak
don't create backup files
--dump display transition tables
--dot write graphviz .dot files for the generated automata (alpha)
--verbose, -v
display generation progress messages (default)
--quiet, -q
display errors only
--time display generation time statistics
--version
print the version number of this copy of jflex
--info print system + JDK information
--help, -h
print this message
AUTHOR
This manual page was written by Wolfgang Baer <WBaer@gmx.de>, for the Debian project (but may be used by others).
October 2005 JFLEX(1)