Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about pacman-package-manager

Read more about pacman-package-manager

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 - pacman-package-manager

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

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