Search Results

Search: Posts Made By: royzlife
4,877
Posted By ctsgnb
sed '|start of the sed statement ...
sed '|start of the sed statement
/human/!d|lines that do not (!) match "human" are deleted
s/|substitute
.|any character
*|repeted 0 or more times
name=|followed by "name="
/human\n/|replace it...
4,877
Posted By greet_sed
Like this ? sed '/human/!d;s/.*name=//' file |...
Like this ?
sed '/human/!d;s/.*name=//' file | sort | uniq -c
14,703
Posted By achenle
man dirname
man dirname
4,031
Posted By Scott
Hi. For the first part you could use: ...
Hi.

For the first part you could use:


$ xargs -n1 -I{} < abcd.txt cleartool co -nc {}


(be careful, ct is an alias to cleartool - and won't work in a subshell)

Where exactly does the...
4,031
Posted By Franklin52
Sorry, the script should be something like: ...
Sorry, the script should be something like:
while read file
do
cleartool co -nc "$file"
cp "$file" /another/dir/"${file##*/}"
mv "$file" /yet/another/dir/"${file##*/}"
done < abcd.txt
Showing results 1 to 5 of 5

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