I'm trying to delete lines from a large text file using VI.
Every line that I am wanting to delete start with 'S' - all others do not. (A list of users)
I've tried using * but doesn't seem to like it...any ideas...
Doesn't have to be VI - but I'm better with VI than sed/awk. (8 Replies)
when writing a shell script (bourne) and using a unix command like 'ls' is there anything special you need to do to use a wildcard (like *)? (3 Replies)
ok, I'm trying to write a script file that lists files with specific elements in the name into a txt file, it looks like this
ls s*.dat > file_names.txt
can't figure out whats wrong with that line, any ideas?
thanks in advance (10 Replies)
Hi Folks
Quick one I can't seem to figure out sed wildcards..
I need to replace a string such as "From here.....to here".
I would think the command would look like:
sed 's/From here*to here/new text/g' or
sed 's/From here\*to here/new text/g'
But it's not working for me.
Thanks in... (5 Replies)
Hi All
Please excuse another straightforward question. When creating a tar archive from a directory I am attempting to use wildcards to eliminate certain filetypes (otherwise the archive gets too large). So I am looking for something along these lines.
tar -cf archive.tar * <minus all *.rst... (5 Replies)
Hello
I have this script:
#!/bin/ksh
INPUTFILE=$1
TEMPFILE=$INPUTFILE.$$
OUTPUTFILE=$INPUTFILE.new
# nr of arguments has to be 1
if
then
echo "\nUsage: $0 inputfile\n"
return 1
fi
# inputfile must exist and be readable
if
then (13 Replies)
Hi All,
Need you guys' help to achieve the following:
I have some strings and i wish to threw off the end part that's in the file path.
From:
/directoryname1/subdirectoryname1/abc.txt
/directoryname2/subdirectoryname2/defggf.txt
To:
/directoryname1/subdirectoryname1/... (7 Replies)
Is there some rule about using wildcards in path? Say I want to create a file, but one of the directories in the path is called 1433d.default and on different machines it will be called <some other string>.default
touch ~/Library/Application/*.default/myfile
In theory I thought that... (5 Replies)
These 2 websites do a GREAT job of explaining different types of wildcards. I learned about the categories of characters which I never knew about at all.
GNU/Linux Command-Line Tools Guide - Wildcards
GREP (1 Reply)
to scp using windcards you use the following :
scp 'hostname:/home/username/diff_201110*' .
Enjoy ! (0 Replies)
Discussion started by: phpsnook
0 Replies
LEARN ABOUT DEBIAN
net::google::code::atomparser
Net::Google::Code::AtomParser(3pm) User Contributed Perl Documentation Net::Google::Code::AtomParser(3pm)NAME
Net::Google::Code::AtomParser - AtomParser with a parsing method for gcode
DESCRIPTION INTERFACE
new
parse( $xml_content )
return( $feed, $entries ), $feed is a hashref like {
'title' => 'Issue updates for project net-google-code on Google Code',
'id' => 'http://code.google.com/feeds/p/net-google-code/issueupdates/basic',
'updated' => '2009-06-12T05:55:48Z' }
$entries is an arrayref like [
{
'content' => '<pre>second comment
</pre>
',
'name' => 'sunnavy',
'title' => 'Update 2 to issue 22 ("for sd test")',
'id' => 'http://code.google.com/feeds/p/net-google-code/issueupdates/basic/22/2',
'updated' => '2009-06-12T05:55:48Z'
},
{
'content' => '<pre>first comment
</pre>
',
'name' => 'sunnavy',
'title' => 'Update 1 to issue 22 ("for sd test")',
'id' => 'http://code.google.com/feeds/p/net-google-code/issueupdates/basic/22/1',
'updated' => '2009-06-12T05:55:22Z'
}, ]
AUTHOR
sunnavy "<sunnavy@bestpractical.com>"
LICENCE AND COPYRIGHT
Copyright 2008-2010 Best Practical Solutions.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-29 Net::Google::Code::AtomParser(3pm)