FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-10-2012, 06:29 AM
Alejandro Rodriguez Luna
 
Default script regular expression

Hi everyone, I was creating a script and i found something i can't figure out.

#/bin/bash
for i in $(cat certificates.txt)
do*
*** echo $i
done

I expected this

RSA Secure Server Certification Authority
VeriSign Class 1 CA Individual Subscriber-Persona Not Validated


but i got this

RSA
Secure
Server
Certification
Authority
VeriSign
Class
1
CA
Individual
Subscriber-Persona
Not
Validated

*any ideas how to fix this? i mean, how can i get the whole line instead of word by word?

*
----------------------------------
Alejandro Rodriguez Luna
E-mail: el_alexluna@yahoo.com.mx
Movil: 044-311-112-86-41
----------------------------------


________________________________
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 04:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org