Visit Our UNIX and Linux User Community

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 08: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
Class::MOP::Module(3)					User Contributed Perl Documentation				     Class::MOP::Module(3)

NAME
Class::MOP::Module - Module Meta Object VERSION
version 2.0604 DESCRIPTION
A module is essentially a Class::MOP::Package with metadata, in our case the version and authority. INHERITANCE
Class::MOP::Module is a subclass of Class::MOP::Package. METHODS
Class::MOP::Module->create($package, %options) Overrides "create" from Class::MOP::Package to provide these additional options: "version" A version number, to be installed in the $VERSION package global variable. "authority" An authority, to be installed in the $AUTHORITY package global variable. $metamodule->version This is a read-only attribute which returns the $VERSION of the package, if one exists. $metamodule->authority This is a read-only attribute which returns the $AUTHORITY of the package, if one exists. $metamodule->identifier This constructs a string which combines the name, version and authority. Class::MOP::Module->meta This will return a Class::MOP::Class instance for this class. AUTHOR
Moose is maintained by the Moose Cabal, along with the help of many contributors. See "CABAL" in Moose and "CONTRIBUTORS" in Moose for details. COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Infinity Interactive, Inc.. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.16.2 2012-09-19 Class::MOP::Module(3)

Featured Tech Videos

All times are GMT -4. The time now is 05:42 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy