Gents,
from these sample lines:
ZUCR.MI ZUCCHI SPA RISP NC 2,5000 6 ott 0,0000
ZV.MI ZIGNAGO VETRO 3,6475 16:36 Up 0,0075
is it possible to get this:
ZUCR.MI 2,5000
ZV.MI 3,6475
i.e. the first field, a separator and the first decimal number?
(in Europe we... (9 Replies)
Hi,
the text line looks like this:
"test1" " " "test2" "test3" "test4" "10" "test 10 12" "00:05:58" "filename.bin" "3.3MB" "/dir/name" "18459"
what's the best way to select any of it? So I can for example get only the time or size and so on.
I was trying awk -F""" '{print $N}' but... (3 Replies)
The text line has the following formats:
what.ever.bla.bla.C01G06.BLA.BLA2
what.ever.bla.bla.C11G33.BLA.BLA2
what.ever.bla.bla.01x03.BLA.BLA2
what.ever.bla.bla.03x05.BLA.BLA2
what.ever.bla.bla.Part01.BLA.BLA2
and other similar ones, I need a way to select the "what.ever.bla.bla" part out... (4 Replies)
FOLKS ,
i have a text file that is generated automatically of an another korn shell script, i want to bring in the fifth line of the text file in to my korn shell script and look for a particular word in the line . Can you all share some thoughts on this one.
thanks...
Venu (3 Replies)
* hdisk99 U5791.001.9920BZ4-P1-C05-T1-W500507630E060C14-L401140BA00000000 IBM MPIO FC 1750
* hdisk100 U5791.001.9920BZ4-P1-C05-T1-W500507630E060C14-L401140BB00000000 IBM MPIO FC 1750
* hdisk185 U5791.001.9920BZ4-P1-C05-T1-W500507630E060C14-L401140A000000000 IBM MPIO FC... (2 Replies)
I have created one file that contains all the necessary info in it to create a download link. In each of the lines /results/analysis/output/Home/Auto_user_S5-00580-6-Medexome_67_032/plugin_out/FileExporter_out.67... (8 Replies)
I have been searching and trying to come up with an awk that will perform the following on a
converted text file (original is a pdf).
1. Since the first two lines are (begin with) text they are removed
2. if $1 is a number then all text is merged (combined) into one line until the next... (3 Replies)
The awk below will create sub-directories in a directory (which is always the last line of file1, each block separated by an empty line), if the number in line 2 (always the first 6 digits in the format xx-xxxx) of file2 is found in $2 of file1. This is the current awk output.
If there is a... (0 Replies)
Discussion started by: cmccabe
0 Replies
LEARN ABOUT DEBIAN
amc-prepare
AMC-PREPARE(1) Auto Multiple Choice AMC-PREPARE(1)NAME
AMC-prepare - prepares working documents from LaTeX source file
SYNOPSIS
auto-multiple-choice prepare --mode s --prefix project-dir mcq-source-file
auto-multiple-choice prepare --mode b --data project-data-dir mcq-source-file
DESCRIPTION
The AMC-prepare.pl command extracts working documents from the source file describing the multiple choice questionnaire. Information to be
extracted depends on the --mode argument value. In any mode, the source filename must be given as an argument.
o with "--mode s", AMC-prepare.pl makes the subject file (answer sheet to be printed and given to the students), the correction (single
corrected answer sheet) and the positions file (file containing information about the positions of the boxes on the pages). The
following arguments can be used:
--out-sujet subject.pdf
sets the subject file to build.
--out-corrige corrected.pdf
sets the correction to build.
--out-calage calage.xy
sets the positions file to build.
--prefix directory
this directory is only necessary if one or more of the three previous options are not used: default values are then
directory/sujet.pdf, directory/corrige.pdf and directory/calage.xy.
o with "--mode b", AMC-prepare.pl extracts scoring data from the source file. In this mode, the --data argument must be used (see below).
The following optional arguments can be used in any mode:
--with latex-engine
gives the LaTeX engine (command) to be used. latex-engine can be pdflatex or xelatex for exemple.
--filter filter
sets the filter name to transform the MCQ source file into a LaTeX file. Native filters are latex (no change at all) and plain (source
is an AMC-TXT file).
--filtered-source mcq-latex-file
gives the LaTeX file to make from the source file using specified filter. If omitted, a filename derived from mcq-source-file adding
_filtered.tex is used.
--n-copies n
sets the number of copies to produce, overriding the number given in the LaTeX source file (first argument of the onecopy command).
--debug file.log
gives a file to fill with debugging information.
--data project-data-dir
sets the directory where the project's SQLite data files are.
AUTHORS
Alexis Bienvenue <paamc@passoire.fr>
Main author
Jean Berard
Translation from French
Georges Khaznadar
Translation from French
COPYRIGHT
Copyright (C) 2008-2012 Alexis Bienvenue
This document can be used according to the terms of the GNU General Public License, version 2 or later.
Auto Multiple Choice 1.1.1 06/19/2012 AMC-PREPARE(1)