Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about comm

Read more about comm

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - comm

Why does my command stop working when I put it into an alias?

I am trying to run the following command comm -23 <(pacman -Qqe | sort) <(awk '{print $1}' /desktopfs-pkgs.txt | sort) I get the following output autoconf automake bison chromium code discord fa...
test-img

Caleb Renfroe

zsh

alias

zshrc

comm

pacman-package-manager

Votes: 0

Answers: 1

Latest Answer

The $1 is substituted by the shell at the time the alias is defined, i.e. awk never sees a $1. You can verify this by displaying your alias with alias paccom You would have to escape the in the alias...
test-img

user1934428

GNU/Linux using comm with a file and the output of a command

I want to use the comm command to compare a text file and the output of a command. My first idea was to run: comm packagesList $(pacman -Qe) However, that outputs an errpr. I also tried using ´pacman...
test-img

Peter Petigru

linux

bash

shell

archlinux

comm

Votes: 0

Answers: 1

Latest Answer

pacman -Qe | comm packagesList - or comm packagesList <(pacman -Qe) Topics to research: what are standard streams and stdin/stderr/stdout, man comm -> When FILE1 or FILE2 (not both) is -, read...
test-img

KamilCuk

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved