Search Results

Search: Posts Made By: vineet.dhingra
3,769
Posted By rangarasan
you dont have Tie::IxHash module in system. so...
you dont have Tie::IxHash module in system. so that you got error.
Please try with the above code..
Tie::IxHash - check this module in CPAN for detailed explanation.

Cheers,
Ranga:)
34,617
Posted By ahamed101
CSH #!/bin/csh while ( $#argv != 0 ) ...
CSH


#!/bin/csh
while ( $#argv != 0 )
switch ($argv[1])
case "-kit":
set KIT=$2;
echo "KIT is $KIT"
breaksw
case "-type":
set TYPE=$2;
echo...
34,617
Posted By Scott
Are you not missing the "case" keyword? ...
Are you not missing the "case" keyword?


#!/usr/bin/csh
while ( $#argv != 0 )
switch ( $argv[1] )
case "-kit":
KIT=$2;
echo "Proc arg missing"
shift
...
71,534
Posted By mirni
That was the first solution in my previous post. ...
That was the first solution in my previous post.

Makefile:

X:
./abc.sc N


Then invoking make X should launch the script.
12,776
Posted By sk1418
single digit (date) kent$ echo "abc def jhi kbk...
single digit (date)
kent$ echo "abc def jhi kbk Tue Apr 8 00:48:29 2011"|sed -r 's/... ... .{1,2} .{2}:.{2}:.{2} [0-9]{4}//'
abc def jhi kbk

two digits
kent$ echo "abc def jhi kbk Tue Apr 18...
7,854
Posted By michaelrozar17
Assuming the timestamp in the file has the word...
Assuming the timestamp in the file has the word on before it
sed '/.. ... ... [0-9][0-9]/s/\(.* *on\) .*/\1/' inputfile > outfile
Showing results 1 to 6 of 6

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