Sponsored Content
Top Forums Shell Programming and Scripting Illegal Statement at source line 2 Post 302278122 by Glyn_Mo on Monday 19th of January 2009 11:03:41 AM
Old 01-19-2009
Here's the file I'm trying to read from. I'm wanting to display output from line 26 up until before line 36...

1 lmutil - Copyright (c) 1989-2006 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
2 Flexible License Manager status on Mon 1/19/2009 13:06
3
4 License server status: ##########
5 License file(s) on #############:
6
7 #########: license server UP (MASTER) v10.8
8
9 Vendor daemon status (on ########):
10
11 telelogic: UP v10.8
12
13 Feature usage info:
14
15 Users of Telelogic_Support: (Total of 1000 licenses issued; Total of 0 licenses in use)
16
17 Users of SYNERGY-ActiveCM: (Total of 10 licenses issued; Total of 0 licenses in use)
18
19 Users of SYNERGY-ChangeBase: (Total of 11 licenses issued; Total of 1 license in use)
20
21 "SYNERGY-ChangeBase" v2009.1230, vendor: telelogic
22 floating license
23
24 ccm_root phys-agsdev /dev/tty ChangeAdmin (v1.0) (Phys-agsdev/19353 580), start Mon 1/19 6:30 (linger: 1800)
25
26 Users of SYNERGY-CMBase: (Total of 12 licenses issued; Total of 4 licenses in use)
27
28 "SYNERGY-CMBase" v2009.1230, vendor: telelogic
29 floating license
30
31 ccm_root phys-agsdev /dev/tty z000798 (v1.0) (Phys-agsdev/19353 436), start Mon 1/19 10:54
32 ccm_root phys-agsdev /dev/tty z001383 (v1.0) (Phys-agsdev/19353 2014), start Mon 1/19 11:22
33 ccm_root phys-agsdev /dev/pts/10 u025027 (v1.0) (Phys-agsdev/19353 794), start Mon 1/19 9:54
34 ccm_root phys-agsdev /dev/pts/27 u414020 (v1.0) (Phys-agsdev/19353 273), start Mon 1/19 12:02
35
36 Users of SYNERGY-GroupSecurity: (Total of 20 licenses issued; Total of 0 licenses in use)
37
38 Users of SYNERGY-ObjectMake: (Total of 10 licenses issued; Total of 0 licenses in use)
39
40 Users of SYNERGY-OracleSupport: (Total of 1 license issued; Total of 0 licenses in use)
41
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

grep entire statement not just line

(extract from SQL binlog file...) # at 4960 #080801 14:35:31 server id 4 end_log_pos 195 Query thread_id=63121426 exec_time=0 error_code=0 use d_jds; SET TIMESTAMP=1217581531; UPDATE bid_details set bidding = 3170.37 ,deduction=if((3170.37 < 37.43),0,deduction) where... (3 Replies)
Discussion started by: shantanuo
3 Replies

2. UNIX for Dummies Questions & Answers

single line if statement

hi, i wonder if someone could tell me how to properly convert the following code onto one line: if then print "The file was not copied" exit 1 fi i am not sure how to close off the if statement here. everything i try gives me "syntax error: `if' unmatched" if... (2 Replies)
Discussion started by: ankimo
2 Replies

3. Shell Programming and Scripting

Output of both the echo statement in one line

I have script like echo -n FINISHED FEXP: ${TABLE2EXP} echo $STATUS I want the output of both the echo statement in one line How can i do this (3 Replies)
Discussion started by: scorp_rahul23
3 Replies

4. Shell Programming and Scripting

nawk: illegal statement at source line 1

Hello Everyone, I don't know what is wrong with this: Is it that nawk cannot run a ".sh" script or is it not treating "." as a literal. If so how to make "." be treated as a literal in "nawk" statemnts? Thanks in Advance (2 Replies)
Discussion started by: bhaire
2 Replies

5. UNIX for Dummies Questions & Answers

nawk: syntax error at source line 11

Hi, I executing a awk in a shell script. A part of AWK is: nawk -F"¤" -v fichero=${DIRECTORIO_PARAMETROS}/${FICHERO_CONFIGURACION_CHEQUEOS} -v sistema=${SISTEMA_SEDRA} -v fichero_no_validos="No_validos_CAMPO_TIPO_${SIST}.dat" 'BEGIN{ if ( fichero != "") { ... (4 Replies)
Discussion started by: pepeli30
4 Replies

6. Shell Programming and Scripting

Awk help with source and previous line loop

Hello, I've written a ksh awk script to ping multiple servers and write the results to a file. That part is working ok. I then want to extract the names of only the server which are available. This is indicated by '1 packets received'. The server name actually appears above that line so I found... (4 Replies)
Discussion started by: Grueben
4 Replies

7. Shell Programming and Scripting

I want a count only when couple of value exist in each line of my source.

I have to get the count only if poc=4060 and loc=JPN ( basically I want to check both values exist then count the occurrences.) disp0201.php?poc=4060&roc=1&ps=R&ooc=13&mjv=6&mov=5&rel=5&bod=155&oxi=2&omj=5&ozn=1&dav=20&cd=&daz=& drc=&mo=&sid=&lang=EN&loc=JPN I have been trying like this... (2 Replies)
Discussion started by: elamurugu
2 Replies

8. Shell Programming and Scripting

Help with finding last line of file: if statement depending on that line.

Good morning, My first time actually posting in this forum, though I have used this forum to help with numerous projects. I am trying to figure out why my if statement does not work. I have a file where a line is inputted every 15 seconds. I want this if statement to check what the last line... (3 Replies)
Discussion started by: Shanrunt
3 Replies

9. Shell Programming and Scripting

Read: line 6: illegal option -e

For some reason read -e isn't working in my script. I need a directory as input from a user and I'd like for them to be able to use tab complete which is why I'm using -e. When the script is run, I get: read: line 6: illegal option -e In order to just figure out what is going on with the -e... (4 Replies)
Discussion started by: orangeSunshine
4 Replies

10. Shell Programming and Scripting

Source command returns error when it strikes conditional statement "ifeq"

Hello All, I am running source command on my project configuration file app.cfg which has conditional statements with make file systax E.g ifeq ($(APP_CMP_DIR),trunk). When I source this file it throws error: syntax error near unexpected token... (1 Reply)
Discussion started by: anand.shah
1 Replies
lc(Mono 2.6)															      lc(Mono 2.6)

NAME
lc - Mono License Compiler SYNOPSIS
lc -c filename -t targetassembly [-i reference...] [-v] [-o outputpath] [-nologo] DESCRIPTION
lc tool is a license compiler for Mono. It's used to convert a licenses.licx file to a resource that can be embedded into an executable. When using commercial components for .NET they often require a license resource at runtime to make sure the developer was licensed to use this control. The most common way of making sure the component was properly licensed is by using license resources. At compile time the developer uses the lc tool to convert a licenses.licx file to a programname.exe.resources file and embed that as a managed resource during compilation. RUNTIME OPTIONS
The following options are available: --complist=filename, -c filename This option is used to specify the input file, the licenses.licx file to create a license reesource for. This option is required. The license compiler will read each line in this file and try to load the types specified on that line. --target=assemblyname, -t targetassembly full assembly name with file extension for the target assembly. The license compiler uses this as a key when compiling the licenses. It has to match the assembly the resource will be embedded in. This option is required. --load=reference, -i reference Assembly reference to load before trying to compile a license. This option is needed for assemblies where the references are not in the gac. Compilers should pass all references to the license compiler. --verbose,, -v Gives more verbose output about the license compiling process. --help, -h Displays usage instructions. --output=path, -o path Target path file the licenses resource. By default the license compiler emits the resource in the current directory. The filename will always match the target assembly passed to --target with .licenses added. --nologo Do not emit the "Mono License Compiler" logo on stdout while compilng. LICENSE FILES
The format for the license files (licenses.licx) is the following: # comment namespace.type, assemblyname namespace.type, full-assemblyname All lines starting with a # are ignored. the first form requires that the assembly was loaded through the --load,-i option but does not require the full assembly name, only the first part. The second form requires the full assembly name including locale, version and publickeytoken. MAILING LISTS
Mailing lists are listed at the http://www.mono-project.com/Mailing_Lists WEB SITE
http://www.mono-project.com SEE ALSO
mono(1), mcs(1) lc(Mono 2.6)
All times are GMT -4. The time now is 04:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy