Search Results

Search: Posts Made By: drew211
4,677
Posted By drew211
Today date
Today date
4,677
Posted By drew211
regex date format help
I need to write a regular expression for todays date in format 12/11/11? any help will be greatful thanks.
2,218
Posted By drew211
regular expression help
\..\ {3\}$

which one of these does this match

rs.ef$tt
abc.ab
abc.$$$$
abc

I think its the 1st one what do you think?
Thanks


Please use code tags...
799
Posted By drew211
Regular expression help needed
Hi I need to simplify this reg expression [ABCDEa-q] is this right
[A-E] [a-q] or [A-E,a-q]


thanks.
1,534
Posted By drew211
simplify regular expressions
Hi can anyone help me with how to simplify this regular expression
[ABCDE]

---------- Post updated at 09:16 PM ---------- Previous update was at 09:11 PM ----------

IS THIS RIGHT [A-E]

?
991
Posted By drew211
p command in vi
Hi I am in vi mode and I am being asked to check the line number of the current line using the p command is this possible?
1,060
Posted By drew211
vi command
when i do that it highlights all of the "g" in the file as yellow how can i avoid that?
1,060
Posted By drew211
vi command question
I have this file

People naturally fear misfortune and hope for good
fortune. But if the distinction is carefully studied,
misfortune often turns out to be good fortune and good
...
1,006
Posted By drew211
find/mail help needed
so I saved a mail message of mine to a new dir/file

My question is how do I find the path to my file containing my saved email from my home dir prompt in unix?
Thanks.
1,582
Posted By drew211
read mail question
I read it in mail read mode but I want to save it to a new file in a different directory.
1,582
Posted By drew211
read mail question
how do I save a email I just read to a new file?
Thanks.
857
Posted By drew211
help with cut command needed
I have this file containing 8 veritcal lines and I need to cut the first two lines into a new file and then cut the next two lines into a new file and so on... any help would be much appreciated. I...
937
Posted By drew211
sort command help needed
I have a file with three fields of data for example say we have
1420 $12.56 45
3456 $15.89 14
2341 $25.87 32

I need to use a command to show who is getting paid the...
1,138
Posted By drew211
output redirection to existing file question
So I have a existing file that I used the uniq command on and I need to save the output to the same file without changing the file name.

I have tried $ uniq filename > filename

then when I...
959
Posted By drew211
need help please
So I have a existing file that I used the uniq command on and I need to save the output to the same file without changing the file name.

I have tried $ uniq filename > filename

then when I cat...
1,281
Posted By drew211
Need help with file encrypt
Hi I need to encrypt the below file using the translate command to shift each letter five characters to the end of the character set.

ALPHABETICAL FACTS.
THE FIRST THREE LETTERS ARE ABC.
THE...
2,907
Posted By drew211
tail command
ok but where do i type the contents of the file? sorry i am a newbie to this.

---------- Post updated at 02:50 PM ---------- Previous update was at 02:04 PM ----------

So do I need to create...
2,907
Posted By drew211
tail command help
Hi does anyone know how to create a file using the tail command? My book has this file I need to create and it says to use the tail command and that it is possible but I have no idea. Thanks.
5,333
Posted By drew211
need to use copy and paste command
but my instructions for the exercise say to use cut and paste commands to swap the fields is that not possible?
5,333
Posted By drew211
need help with cut and paste command
I have a file which contains 3 fields separated by tabs example

andrew kid baker

I need to swap kid and baker using cut and paste commands how is this to be done?
Thanks
2,194
Posted By drew211
Need help with using cut and paste command
I have a file which contains 3 fields separated by tabs example

andrew kid baker

I need to swap kid and baker using cut and paste commands how is this to be done?
Thanks
Showing results 1 to 21 of 21

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