Search Results

Search: Posts Made By: bankimmehta
28,890
Posted By Shell_Life
Even though you are saying that you want to skip...
Even though you are saying that you want to skip lines that start with "#", at the same time you say that you want to quit when you see it.

If you want to skip "#":
!/usr/bin/ksh
egrep -v '^#'...
12,023
Posted By pludi
I can't think of an easy way to do this, since...
I can't think of an easy way to do this, since HTML doesn't have any definite way of telling when the actual content of a file starts and where it ends. The RH pages, for example, include multiple...
Forum: Solaris 12-20-2007
14,487
Posted By porter
while read N do cp "$N" target-dir ...
while read N
do
cp "$N" target-dir
done <file.lst
3,310
Posted By pludi
#!/usr/bin/perl use strict; use warnings; ...
#!/usr/bin/perl

use strict;
use warnings;

use Time::Local;

# Input time
my $tstr = "20100430070935";

# Run a regexp match on the input, and save the matches (capturing groups)
# into...
3,310
Posted By pludi
You're using Perl 5.5.3 (which is more than 11...
You're using Perl 5.5.3 (which is more than 11 years old, btw), but the "warnings" pragma was only introduced with 5.6. You can try running Perl using the -w switch, but unlike the pragma this will...
3,843
Posted By hergp
Solaris ls comes with the -e option which prints...
Solaris ls comes with the -e option which prints the mtime up to the second, but in the format "mmm dd hh:mm:ss yyyy " which makes it harder to parse.

You need to write a shell function or shell...
5,253
Posted By Franklin52
Oh my, didn't realize it's a tab delimited file,...
Oh my, didn't realize it's a tab delimited file, try:
tr '\t' '\n' < file | grep '^\*' > newfile

Please use code tags.
2,902
Posted By guruprasadpr
Hi, Check the examples here: Connect to...
Hi,
Check the examples here: Connect to sqlplus and retrieve data (http://unix-school.blogspot.com/2010/04/how-to-connect-to-sqlplus-from-shell.html)

Guru.
Showing results 1 to 8 of 8

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