Sponsored Content
Full Discussion: Check
Top Forums Shell Programming and Scripting Check Post 302761265 by Scrutinizer on Friday 25th of January 2013 11:15:55 AM
Old 01-25-2013
What do you get? I get:

Code:
$ echo "2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180 2012-12-29--13.3637   2012-12-30--13.7091" | wc -w
       5
$ echo 2012-12-26--14.8224 2012-12-27--14.2898 2012-12-28--14.9180 2012-12-29--13.3637   2012-12-30--13.7091 | wc -w
       5

I agree with Corona688 that using double double quotes is meaningless..
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script to check for a file, check for 2hrs. then quit

I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit. Logically, I'm looking for the best way to approach this Thanks for any assistance in advance. Note: I'm using a C shell and... (2 Replies)
Discussion started by: mmarsh
2 Replies

2. UNIX for Dummies Questions & Answers

is there any way to check if some ip is taken ?

hello is there any tool in unix that will indicate if some ip is already taken by other machine? (4 Replies)
Discussion started by: umen
4 Replies

3. Shell Programming and Scripting

check it

Can i write the following script... $sqlplus -s uname/password @connectingstring select emp_id,emp_name from employees > a.csv quit $mailx -s fga@ds.com < a.csv $ (2 Replies)
Discussion started by: anupdas
2 Replies

4. Shell Programming and Scripting

script to check if another script is running and if so, then sleep for sometime and check again

Hi, I am a unix newbie. I need to write a script to check wheteher another script is still running. If it is, then sleep for 30m and then check again if the script is running. If the script has stopped running then, I need to come out of the loop. I am using RHEL 5.2 (2 Replies)
Discussion started by: mathews
2 Replies

5. UNIX for Advanced & Expert Users

Check EOF char in Unix. OR To check file has been received completely from a remote system

Advance Thanks. (1) I would like to know any unix/Linux command to check EOF char in a file. (2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies

6. Shell Programming and Scripting

check if it's there

Dear, I want to check if the file in the if code is there, but I don't know how to do it? if Can someone assist me please? Thanks! kopie() { echo " Geef de naam van bestand + plaats vanwaar gekopieerd moet worden en waarnaar : " echo -n " Plaats : " read plaats ... (7 Replies)
Discussion started by: yadeki
7 Replies

7. Shell Programming and Scripting

check in and check out comments

Hi Do you know how can I get all check in and check out comments for a period of time with Surround SCM CLI ---------- Post updated at 02:00 AM ---------- Previous update was at 01:56 AM ---------- Do you have NAnt tasks that allow us to access Evolution from an NAnt build script? (0 Replies)
Discussion started by: saku
0 Replies

8. Shell Programming and Scripting

Perl code to check date and check files in particular dir

Hi Experts, I am checking how to get day in Perl. If it is “Monday” I need to process…below is the pseudo code. Can you please prove the code for below condition. if (today=="Monday" ) { while (current_time LESS THAN 9:01 AM) ... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies
dlasq6.f(3)							      LAPACK							       dlasq6.f(3)

NAME
dlasq6.f - SYNOPSIS
Functions/Subroutines subroutine dlasq6 (I0, N0, Z, PP, DMIN, DMIN1, DMIN2, DN, DNM1, DNM2) DLASQ6 computes one dqd transform in ping-pong form. Used by sbdsqr and sstegr. Function/Subroutine Documentation subroutine dlasq6 (integerI0, integerN0, double precision, dimension( * )Z, integerPP, double precisionDMIN, double precisionDMIN1, double precisionDMIN2, double precisionDN, double precisionDNM1, double precisionDNM2) DLASQ6 computes one dqd transform in ping-pong form. Used by sbdsqr and sstegr. Purpose: DLASQ6 computes one dqd (shift equal to zero) transform in ping-pong form, with protection against underflow and overflow. Parameters: I0 I0 is INTEGER First index. N0 N0 is INTEGER Last index. Z Z is DOUBLE PRECISION array, dimension ( 4*N ) Z holds the qd array. EMIN is stored in Z(4*N0) to avoid an extra argument. PP PP is INTEGER PP=0 for ping, PP=1 for pong. DMIN DMIN is DOUBLE PRECISION Minimum value of d. DMIN1 DMIN1 is DOUBLE PRECISION Minimum value of d, excluding D( N0 ). DMIN2 DMIN2 is DOUBLE PRECISION Minimum value of d, excluding D( N0 ) and D( N0-1 ). DN DN is DOUBLE PRECISION d(N0), the last value of d. DNM1 DNM1 is DOUBLE PRECISION d(N0-1). DNM2 DNM2 is DOUBLE PRECISION d(N0-2). Author: Univ. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd. Date: September 2012 Definition at line 119 of file dlasq6.f. Author Generated automatically by Doxygen for LAPACK from the source code. Version 3.4.2 Tue Sep 25 2012 dlasq6.f(3)
All times are GMT -4. The time now is 04:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy