Search Results

Search: Posts Made By: bankimmehta
28,924
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 '^#'...
3,322
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,322
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,861
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,276
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,904
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.
12,033
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,504
Posted By porter
while read N do cp "$N" target-dir ...
while read N
do
cp "$N" target-dir
done <file.lst
Showing results 1 to 8 of 8

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