Sponsored Content
Full Discussion: cut
Top Forums Shell Programming and Scripting cut Post 302340649 by nagendramv on Tuesday 4th of August 2009 06:36:12 AM
Old 08-04-2009
cut


A data looks like this... which is of single line...
Code:
'[ [issuedTo CN= Class 1 Public Certification Authority , OU="(c) , Inc. - For authorized use only", OU= Trust Network, O=" , Inc.", C=US] [fingerPrint [ )] [serialNumber ] [alias class 1 public primary certification authority - g] [validity Valid from .] [version 1] [issuedBy CN= Class 1 Public Primary Certification Authority - ="(c)  , Inc. - For authorized use only", OU= Trust Network, O=" , Inc.", C=US] [ ] ]\n[ [issuedTo CN= - ,OU="(c) , Inc. - For use only", OU= Trust Network, O=" , Inc.",] []

i want to cut this line... when ever "[issuedTo" comes in this line as two separate lines ...

Request for the assistance...

Last edited by zaxxon; 08-04-2009 at 07:46 AM.. Reason: CODE tags
 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cut Command error cut: Bad range

Hi Can anyone what I am doing wrong while using cut command. for f in *.log do logfilename=$f Log "Log file Name: $logfilename" logfile1=`basename $logfilename .log` flength=${#logfile1} Log "file length $flength" from_length=$(($flength - 15)) Log "from... (2 Replies)
Discussion started by: dgmm
2 Replies

2. UNIX for Beginners Questions & Answers

Cut command: can't make it cut fields

I'm a complete beginner in UNIX (and not a computer science student either), just undergoing a tutoring course. Trying to replicate the instructions on my own I directed output of the ls listing command (lists all files of my home directory ) to My_dir.tsv file (see the screenshot) to make use of... (9 Replies)
Discussion started by: scrutinizerix
9 Replies

3. Shell Programming and Scripting

Using :<<cut / cut to comment out block of bash script

I am using : << cut / cut to comment out block of code. Works fine on few lines of script, then it gives me this cryptic error when I try to comment out about 80 lines. The "warning " is at last line of script. done < results 169 echo "END read all positioning parameters" 170... (8 Replies)
Discussion started by: annacreek
8 Replies
POWERCOM(8)						      Network UPS Tools (NUT)						       POWERCOM(8)

NAME
powercom - UPS driver for Powercom/Trust/Advice UPS equipment NOTE
This man page only documents the hardware-specific features of the newapc driver. For information about the core driver, see nutupsdrv(8). SUPPORTED HARDWARE
This driver supports many similar kinds of UPS hardware. The most common ones are the Trust 425/625, Powercom, and Advice Partner/King PR750. Others using the same protocol may also work. EXTRA ARGUMENTS
This driver supports the following optional settings in the ups.conf(5): linevoltage=value Specify the line voltage (which can't be autodetected) - 110-120 or 240, default is 230. manufacturer=value Specify the manufacturer name, which also can't be autodetected. modelname=value Specify the model name, which also can't be autodetected. serialnumber=value Like modelname above, but for the serial number. subtype=value Sub type of UPS - like KP625AP, Trust or Egys. Default is Trust. AUTHOR
Peter Bieringer <pb@bieringer.de> SEE ALSO
The core driver: nutupsdrv(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/ NUT mailing list archives and information: http://lists.exploits.org/ Wed Oct 16 2002 POWERCOM(8)
All times are GMT -4. The time now is 02:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy