07-31-2008
That is pretty much the difference. See a shell quoting tutorial such as
UNIX Shell Quote for a detailed explanation.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am new to unix. i need to know how to use grep to grep and expression from a file. and pass the result as a 0 for found and 1 for not found. I can only go up to grep 'Checking Subscription Status' ranos.log. Please help. Thank you. (2 Replies)
Discussion started by: Hak Dee
2 Replies
2. Shell Programming and Scripting
i have this SSH command which runs perfectly on command prompt in sunOS
ssh -o Port=${portno} ${uname}@${server} find ${dir_path} -name '***'
output : /usr/local/home/***
My problem is when i run same command in my script
#!/usr/bin/ksh
res=`ssh -o Port=${portno} ${uname}@${server}... (1 Reply)
Discussion started by: prash184u
1 Replies
3. Shell Programming and Scripting
For whatever reason I cant seem to fix my syntax to do the following. I want to run a grep and count how many instances come up and store that number in a variable but I keep erroring out. Here's my code in bash:
number=grep blah file.txt | wc -l (1 Reply)
Discussion started by: eltinator
1 Replies
4. Shell Programming and Scripting
Trying to create a command line script to look for all files matching a pattern, grep for a specific value in each file, and write out the filename long list. It's possible the filename won't containe the value.
{
echo “Running....”
for fname in 811_Intermediate_File_*
do
grep -l... (3 Replies)
Discussion started by: gavineq
3 Replies
5. Shell Programming and Scripting
Hi!
i'm trying to parse textfiles against a pattern and storing the result in a variable.
The strings i want to get are embraced by and can occur several times in one line, so e.g.
some text anything else endwhat i have so far:
#!/bin/bash
for f in $*
do
exec 3<&0
exec 0<$f
... (2 Replies)
Discussion started by: thoni
2 Replies
6. Shell Programming and Scripting
Hi,
I was working on the password policy settings of Solaris where i wanted to grep the results of MINDIFF and comparing it to if else to make it into a auditing script.
I stored the grep into VAR1 and compare it if MINDIFF=3 but it doesnt work.
Can anyone help me with it?
!#/bin/bash
... (2 Replies)
Discussion started by: Jareddd
2 Replies
7. UNIX for Dummies Questions & Answers
Hello.
I want to get all modules which are loaded and which name are exactly 2 characters long and not more than 2 characters and begin with "nv"
lsmod | (e)grep '^nv????????????
I want to get all modules which are loaded and which name begin with "nv" and are 2 to 7 characters long
... (1 Reply)
Discussion started by: jcdole
1 Replies
8. UNIX for Dummies Questions & Answers
I'm making an sftp-connection to a remote server. I want the result of an ls-command in a local file and the result of ls on another folder in another local file. Because everything has to go as fast a possible I wan't to do everyting in one connection.
The command I use is : psftp -v -batch -b... (4 Replies)
Discussion started by: pistach
4 Replies
9. Shell Programming and Scripting
Hi,
I am running following command in a bash script for testing IO and use grep to get throughput number, but it did not work, it displayed everything:
dd if=/dev/zero of=/dev/null bs=1G count=1 oflag=dsync | grep bytes | awk '{print $7}'
1+0 records in
1+0 records out
536870912 bytes... (2 Replies)
Discussion started by: hce
2 Replies
10. Shell Programming and Scripting
FTP is connecting to the server but i am getting an error -
Enter if the env is dev or test or prod:
test
Please enter the id no :
xxxxxxx
Connected to xxxx
220 (vsFTPd 2.2.2)
331 Please specify the password.
230 Login successful.
?Invalid command
?Invalid command
?Invalid command... (3 Replies)
Discussion started by: chandraprakash
3 Replies
LEARN ABOUT DEBIAN
finance::quote::lerevenu
Finance::Quote::LeRevenu(3pm) User Contributed Perl Documentation Finance::Quote::LeRevenu(3pm)
NAME
Finance::Quote::LeRevenu - Obtain quotes from http://bourse.lerevenu.com.
SYNOPSIS
use Finance::Quote;
$q = Finance::Quote->new;
%info = Finance::Quote->fetch("LeRevenu","FR0000031122"); # Only query LeRevenu
%info = Finance::Quote->fetch("france","ml"); # Failover to other sources OK.
DESCRIPTION
This module fetches information from the "Paris Stock Exchange", http://bourse.lerevenu.com. All stocks are available.
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicity by placing "LeRevenu" in the argument
list to Finance::Quote->new().
This module provides both the "lerevenu" and "france" fetch methods. Please use the "france" fetch method if you wish to have failover
with future sources for French stocks. Using the "lerevenur" method will guarantee that your information only comes from the Paris Stock
Exchange.
Information obtained by this module may be covered by http://bourse.lerevenu.com terms and conditions See http://bourse.lerevenu.com for
details.
LABELS RETURNED
The following labels may be returned by Finance::Quote::LeRevenu : name, last, date, p_change, open, high, low, close, volume, currency,
method, exchange.
SEE ALSO
Le Revenu, http://bourse.lerevenu.com
perl v5.14.2 2014-03-03 Finance::Quote::LeRevenu(3pm)