08-27-2012
i tried with Wordpad now its working ....thanks for reply
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a text file in unix.
i am trying to give a link in Internet explorer to that file.
If i click on the link in Internet Explorer page then it should display the text from file in unix.
is that anyway possible....
i am trying it for past 2 days....if i find a way out i will... (3 Replies)
Discussion started by: ganesh
3 Replies
2. UNIX for Dummies Questions & Answers
how to open a text file by double clicking on the file name shown in a label widget in gtk+.
thanks (0 Replies)
Discussion started by: cy163
0 Replies
3. Shell Programming and Scripting
Hi,
example of Unix / Linux dialog utility is below.
I am going to use dialog as simple GUI for testing of a modem.
So I need to combine some dialog boxes into one.
I need to have input box, output box, info box, dialog box,
radiobox as in any standard program with graphical user... (2 Replies)
Discussion started by: jack2
2 Replies
4. UNIX for Dummies Questions & Answers
In windows, I can create a shortcut for websites. It's a .url file.
the content of the file is like:
How can I open it, the .url file, in firefox or google chrome in Unix(or just ubuntu)? (2 Replies)
Discussion started by: hz_i3
2 Replies
5. UNIX for Dummies Questions & Answers
Hi
I am a new to linux, i was faced a file to know is a text file but its type isnt text document and i can not open it please guide me.
Regards
---------- Post updated at 02:52 AM ---------- Previous update was at 02:40 AM ----------
Thank you for your cooperation, my OS is a centOS 5.5... (1 Reply)
Discussion started by: mkhorami76
1 Replies
6. UNIX Desktop Questions & Answers
Hi
I am a new to linux, I was faced a file to know is a text file but its type isn't text document and I cannot open it, please guide me.
Regards. (2 Replies)
Discussion started by: mkhorami76
2 Replies
7. Shell Programming and Scripting
Hi i have a file like this
mailboxnum 20
filename <to subsitute>
fileloaction /home/dd234/
filetype txt
in a directory i have set of files for ex:
TT45.1.2
TT45.1.3
TT45.1.4
.
.
in for loop i have to take this files and subsitute one by one
ex: (1 Reply)
Discussion started by: greenworld123
1 Replies
8. Shell Programming and Scripting
Hi.
I have a 10 Gb text file.the default text editor in ubuntu doens't open it.
Does anyone know how can i open it??
Thanks (4 Replies)
Discussion started by: stalaei
4 Replies
LEARN ABOUT CENTOS
perl::critic::policy::inputoutput::requirecheckedopen
Perl::Critic::Policy::InputOutput::RequireCheckedOpen(3)User Contributed Perl DocumentatioPerl::Critic::Policy::InputOutput::RequireCheckedOpen(3)
NAME
Perl::Critic::Policy::InputOutput::RequireCheckedOpen - Write "my $error = open $fh, $mode, $filename;" instead of "open $fh, $mode,
$filename;".
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
The perl builtin I/O function "open" returns a false value on failure. That value should always be checked to ensure that the open was
successful.
my $error = open( $filehandle, $mode, $filename ); # ok
open( $filehandle, $mode, $filename ) or die "unable to open: $!"; # ok
open( $filehandle, $mode, $filename ); # not ok
use autodie;
open $filehandle, $mode, $filename; # ok
You can use autodie, Fatal, or Fatal::Exception to get around this. Currently, autodie is not properly treated as a pragma; its lexical
effects aren't taken into account.
CONFIGURATION
This Policy is not configurable except for the standard options.
AUTHOR
Andrew Moore <amoore@mooresystems.com>
ACKNOWLEDGMENTS
This policy module is based heavily on policies written by Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>.
COPYRIGHT
Copyright (c) 2007-2011 Andrew Moore. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.16.3 2014-06-09 Perl::Critic::Policy::InputOutput::RequireCheckedOpen(3)