Search Results

Search: Posts Made By: blondie53403
4,496
Posted By blondie53403
Ah there's the answer I was looking for. Here's...
Ah there's the answer I was looking for. Here's the command I used to make a list of all subs defined in all files, for anyone who's interested:

grep -e ^[[:space:]]*sub[[:space:]] * >...
4,496
Posted By blondie53403
I have a collection of Perl code files which...
I have a collection of Perl code files which define several subs. Most appear to have some whitespace (spaces or tabs) before the first line of the sub definition:

sub subname {

I want to...
4,496
Posted By blondie53403
1. Portability isn't a concern to me since I'm...
1. Portability isn't a concern to me since I'm not going to deploy this command.

2. What pattern would I use in Perl then?
4,496
Posted By blondie53403
Simple egrep pattern
I'm new to egrep. What pattern could I use to find all lines that match this pattern: <beginning of line><any amount of whitespace>sub<space>. I want it to return the entire line.

(I'm trying to...
3,003
Posted By blondie53403
What is this? var2=${var1#??????????}
Googling the answer to this question just doesn't work when Google won't search your symbols for you. Can someone tell me what this command will assign to var2, and where I can find more information...
2,126
Posted By blondie53403
That works wonderfully, thanks! In case anyone...
That works wonderfully, thanks! In case anyone cares, here's the final code (with private details omitted), once put inside a for-loop and if-statement. Maybe not the best way, but it works...

...
2,126
Posted By blondie53403
Regular Expression on Directory Contents
This should be an easy question for you gurus. :)

How can I create a regular expression to match all files in the current directory that have only one period in their file name, and also not...
Showing results 1 to 7 of 7

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