bash script regular expression
gerrynix
gerrynix at yahoo.com
Fri Feb 10 19:30:34 UTC 2012
Hi everyone, I was creating a script and i found something i can't figure out.
#/bin/bash
# ADD THE NEXT TWO LINES AS THE FIRST LINES BEFORE the for STATEMENT BEGINS
# There must be a new line (press Enter key) after the first single quote
IFS='
'
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 at yahoo.com.mx
Movil:
044-311-112-86-41
----------------------------------
________________________________
--
users mailing list
users at lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
More information about the users
mailing list