Perl : start reading file from a specific wordHow to get the filename if particular regexp is present in the...

I hit a pipe with a mower and now it won't turn

Adjective for 'made of pus' or 'corrupted by pus' or something of something of pus

How do we separate rules of logic from non-logical constraints?

What's the safest way to inform a new user of their password on an invite-only website?

How did researchers find articles before the Internet and the computer era?

How is this practical and very old scene shot?

Does a Hand Crossbow with the Repeating Shot Infusion still require a Free Hand to use?

Was it really unprofessional of me to leave without asking for a raise first?

Movie with Zoltar in a trailer park named Paradise and a boy playing a video game then being recruited by aliens to fight in space

Can one use the present progressive or gerund like an adjective?

13th chords on guitar

How Do I Know When I am in Private Mode?

How does the Divination wizard's Expert Divination feature work when you upcast a divination spell?

Can you actually break an FPGA by programming it wrong?

Find the radius of the hoop.

Can European countries bypass the EU and make their own individual trade deal with the U.S.?

Security Patch SUPEE-11155 - Possible issues?

How do I present a future free of gender stereotypes without being jarring or overpowering the narrative?

Using “ser” without "un/una"?

Checkmate in 1 on a Tangled Board

Why were the first airplanes "backwards"?

Have any large aeroplanes been landed - safely and without damage - in locations that they could not be flown away from?

Preferred word for "preferred", "target", "chosen" in end user support documentation

Is there reliable evidence that depleted uranium from the 1999 NATO bombing is causing cancer in Serbia?



Perl : start reading file from a specific word


How to get the filename if particular regexp is present in the file in PerlPerl print the lines matching with the columns of file 1 and file2file name as argument and sort in descending way in perl?replace lines from a file using scriptReplace all letters in a word with '*' after a certain word in a text fileDelete a word from fileHow to Execute Script Instead of Reading from File?How to remove spaces from the line after a given word?sed + remove word from specific linePrint file Word for Word on keypress






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Is is possible to read a file from a particular word?



suppose the contents in file are :




This is my pen.It is good.




I want to read from "my" , Can we do it?



If yes then , How?










share|improve this question




















  • 1





    How would a program know where a specific word is in a file without reading the contents from the beginning?

    – Peschke
    10 mins ago











  • What difference does it make where it starts reading from? Just seek till the word you need.

    – muru
    7 mins ago




















0















Is is possible to read a file from a particular word?



suppose the contents in file are :




This is my pen.It is good.




I want to read from "my" , Can we do it?



If yes then , How?










share|improve this question




















  • 1





    How would a program know where a specific word is in a file without reading the contents from the beginning?

    – Peschke
    10 mins ago











  • What difference does it make where it starts reading from? Just seek till the word you need.

    – muru
    7 mins ago
















0












0








0








Is is possible to read a file from a particular word?



suppose the contents in file are :




This is my pen.It is good.




I want to read from "my" , Can we do it?



If yes then , How?










share|improve this question
















Is is possible to read a file from a particular word?



suppose the contents in file are :




This is my pen.It is good.




I want to read from "my" , Can we do it?



If yes then , How?







bash shell text-processing scripting perl






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 35 mins ago







Coolstrike

















asked 50 mins ago









CoolstrikeCoolstrike

205 bronze badges




205 bronze badges








  • 1





    How would a program know where a specific word is in a file without reading the contents from the beginning?

    – Peschke
    10 mins ago











  • What difference does it make where it starts reading from? Just seek till the word you need.

    – muru
    7 mins ago
















  • 1





    How would a program know where a specific word is in a file without reading the contents from the beginning?

    – Peschke
    10 mins ago











  • What difference does it make where it starts reading from? Just seek till the word you need.

    – muru
    7 mins ago










1




1





How would a program know where a specific word is in a file without reading the contents from the beginning?

– Peschke
10 mins ago





How would a program know where a specific word is in a file without reading the contents from the beginning?

– Peschke
10 mins ago













What difference does it make where it starts reading from? Just seek till the word you need.

– muru
7 mins ago







What difference does it make where it starts reading from? Just seek till the word you need.

– muru
7 mins ago












0






active

oldest

votes














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f527164%2fperl-start-reading-file-from-a-specific-word%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f527164%2fperl-start-reading-file-from-a-specific-word%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...