Search Results

Search: Posts Made By: and77
8,577
Posted By and77
Ok it works!What is the meaning of the following ...
Ok it works!What is the meaning of the following

awk '!/\|/' filename
nawk -F'|' 'NF==1' myFile
8,577
Posted By and77
egrep regex
I would like to put into a file the words that haven't the pipe character.
for example

gru|vie|ra
gru|ye|re
gruzzo
gruzzolo
gua|ca|mo|le
guac|co
gua|co

into the file will be putted
...
8,577
Posted By and77
egrep regex
Hi,

I have a file with some words divided into syllables by the character "|" (pipe).
For example zu|ri|ghe|se.I would like a regex that matches all the words that are not divided in...
7,450
Posted By and77
Thank you!
Thank you!
7,450
Posted By and77
[SOLVED] testing if a file is a directory
Thank you!
Now I have the problem to walk through the directory tree starting from the one passed to the script.Is it possible doing it with bash?I think to use recursive tecnique.Is it right?
7,450
Posted By and77
testing if a file is a directory
i have written this simple script called isdir.sh

#! /bin/bash
dir=$1
_ls=`ls $dir`
for file in $_ls
do
if [ -d "$file" ]
then
echo "D $file"
fi
donethe output is not...
2,214
Posted By and77
regex help
I would like to search strings composed by only one type of charachter for example
only strings composed by the charachter 'b'

is it right?

$egrep '\<(b+)+\>' filename

Could be there some...
1,607
Posted By and77
problem grep
ok,thank you!
1,607
Posted By and77
grep problem
I hav e an exercise

List all READ files in /usr/share/doc.Don't include anything in the form "README.a_string"


I solved it
$ ls -R /usr/share/doc | grep '\<README\>'

the result is:
...
Showing results 1 to 9 of 9

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